From: | "Justin Lecher (jlec)" <jlec@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in app-text/dos2unix: ChangeLog dos2unix-5.1.ebuild |
Date: | Sun, 04 Apr 2010 06:37:51 |
Message-Id: | E1NyJSt-0002WZ-10@stork.gentoo.org |
1 | jlec 10/04/04 06:37:47 |
2 | |
3 | Modified: ChangeLog |
4 | Added: dos2unix-5.1.ebuild |
5 | Log: |
6 | Version BUmp |
7 | (Portage version: 2.2_rc67/cvs/Linux x86_64) |
8 | |
9 | Revision Changes Path |
10 | 1.45 app-text/dos2unix/ChangeLog |
11 | |
12 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/dos2unix/ChangeLog?rev=1.45&view=markup |
13 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/dos2unix/ChangeLog?rev=1.45&content-type=text/plain |
14 | diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/dos2unix/ChangeLog?r1=1.44&r2=1.45 |
15 | |
16 | Index: ChangeLog |
17 | =================================================================== |
18 | RCS file: /var/cvsroot/gentoo-x86/app-text/dos2unix/ChangeLog,v |
19 | retrieving revision 1.44 |
20 | retrieving revision 1.45 |
21 | diff -u -r1.44 -r1.45 |
22 | --- ChangeLog 22 Mar 2010 07:36:28 -0000 1.44 |
23 | +++ ChangeLog 4 Apr 2010 06:37:46 -0000 1.45 |
24 | @@ -1,8 +1,13 @@ |
25 | # ChangeLog for app-text/dos2unix |
26 | # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
27 | -# $Header: /var/cvsroot/gentoo-x86/app-text/dos2unix/ChangeLog,v 1.44 2010/03/22 07:36:28 jlec Exp $ |
28 | +# $Header: /var/cvsroot/gentoo-x86/app-text/dos2unix/ChangeLog,v 1.45 2010/04/04 06:37:46 jlec Exp $ |
29 | |
30 | - 22 Mar 2010; <justin@g.o> dos2unix-5.0.ebuild: |
31 | +*dos2unix-5.1 (04 Apr 2010) |
32 | + |
33 | + 04 Apr 2010; Justin Lecher <jlec@g.o> +dos2unix-5.1.ebuild: |
34 | + Version Bump |
35 | + |
36 | + 22 Mar 2010; <jlec@g.o> dos2unix-5.0.ebuild: |
37 | HOMEPAGE fixed per 310643 |
38 | |
39 | 21 Mar 2010; Fabian Groffen <grobian@g.o> dos2unix-5.0.ebuild: |
40 | |
41 | |
42 | |
43 | 1.1 app-text/dos2unix/dos2unix-5.1.ebuild |
44 | |
45 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/dos2unix/dos2unix-5.1.ebuild?rev=1.1&view=markup |
46 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/dos2unix/dos2unix-5.1.ebuild?rev=1.1&content-type=text/plain |
47 | |
48 | Index: dos2unix-5.1.ebuild |
49 | =================================================================== |
50 | # Copyright 1999-2010 Gentoo Foundation |
51 | # Distributed under the terms of the GNU General Public License v2 |
52 | # $Header: /var/cvsroot/gentoo-x86/app-text/dos2unix/dos2unix-5.1.ebuild,v 1.1 2010/04/04 06:37:46 jlec Exp $ |
53 | |
54 | EAPI="3" |
55 | |
56 | inherit toolchain-funcs |
57 | |
58 | DESCRIPTION="Convert DOS or MAC text files to UNIX format or vice versa" |
59 | HOMEPAGE="http://www.xs4all.nl/~waterlan/dos2unix.html http://sourceforge.net/projects/dos2unix/" |
60 | SRC_URI=" |
61 | http://www.xs4all.nl/~waterlan/${PN}/${P}.tar.gz |
62 | mirror://sourceforge/${PN}/${P}.tar.gz" |
63 | |
64 | LICENSE="BSD-2" |
65 | SLOT="0" |
66 | KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~sparc64-solaris" |
67 | IUSE="nls" |
68 | |
69 | DEPEND="virtual/libintl" |
70 | RDEPEND=" |
71 | ${DEPEND} |
72 | !app-text/hd2u |
73 | !app-text/unix2dos" |
74 | |
75 | src_prepare() { |
76 | sed \ |
77 | -e '/^LDFLAGS/s|=|+=|' \ |
78 | -e '/^CC/s|=|?=|' \ |
79 | -e '/CFLAGS_OS \+=/d' \ |
80 | -e '/LDFLAGS_EXTRA \+=/d' \ |
81 | -i "${S}"/Makefile |
82 | tc-export CC |
83 | } |
84 | |
85 | lintl() { |
86 | # same logic as from virtual/libintl |
87 | use !elibc_glibc && use !elibc_uclibc && echo "-lintl" |
88 | } |
89 | |
90 | src_compile() { |
91 | emake prefix="${EPREFIX}"/usr \ |
92 | $(use nls && echo "LDFLAGS_EXTRA=$(lintl)" || echo "ENABLE_NLS=") \ |
93 | || die |
94 | } |
95 | |
96 | src_install() { |
97 | emake DESTDIR="${D}" prefix="${EPREFIX}"/usr \ |
98 | $(use nls || echo "ENABLE_NLS=") install \ |
99 | || die "emake install failed" |
100 | } |