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.1.ebuild |
Date: | Fri, 03 Sep 2010 05:29:42 |
Message-Id: | 20100903052935.C4D8220051@flycatcher.gentoo.org |
1 | jlec 10/09/03 05:29:35 |
2 | |
3 | Modified: ChangeLog |
4 | Added: dos2unix-5.1.1.ebuild |
5 | Log: |
6 | Version Bump |
7 | |
8 | (Portage version: 2.2_rc72/cvs/Linux x86_64) |
9 | |
10 | Revision Changes Path |
11 | 1.53 app-text/dos2unix/ChangeLog |
12 | |
13 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/dos2unix/ChangeLog?rev=1.53&view=markup |
14 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/dos2unix/ChangeLog?rev=1.53&content-type=text/plain |
15 | diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/dos2unix/ChangeLog?r1=1.52&r2=1.53 |
16 | |
17 | Index: ChangeLog |
18 | =================================================================== |
19 | RCS file: /var/cvsroot/gentoo-x86/app-text/dos2unix/ChangeLog,v |
20 | retrieving revision 1.52 |
21 | retrieving revision 1.53 |
22 | diff -u -r1.52 -r1.53 |
23 | --- ChangeLog 6 Jul 2010 08:47:22 -0000 1.52 |
24 | +++ ChangeLog 3 Sep 2010 05:29:35 -0000 1.53 |
25 | @@ -1,6 +1,11 @@ |
26 | # ChangeLog for app-text/dos2unix |
27 | # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
28 | -# $Header: /var/cvsroot/gentoo-x86/app-text/dos2unix/ChangeLog,v 1.52 2010/07/06 08:47:22 ssuominen Exp $ |
29 | +# $Header: /var/cvsroot/gentoo-x86/app-text/dos2unix/ChangeLog,v 1.53 2010/09/03 05:29:35 jlec Exp $ |
30 | + |
31 | +*dos2unix-5.1.1 (03 Sep 2010) |
32 | + |
33 | + 03 Sep 2010; Justin Lecher <jlec@g.o> +dos2unix-5.1.1.ebuild: |
34 | + Version Bump |
35 | |
36 | 06 Jul 2010; Samuli Suominen <ssuominen@g.o> dos2unix-5.1.ebuild: |
37 | ppc64 stable wrt #324553 |
38 | |
39 | |
40 | |
41 | 1.1 app-text/dos2unix/dos2unix-5.1.1.ebuild |
42 | |
43 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/dos2unix/dos2unix-5.1.1.ebuild?rev=1.1&view=markup |
44 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/dos2unix/dos2unix-5.1.1.ebuild?rev=1.1&content-type=text/plain |
45 | |
46 | Index: dos2unix-5.1.1.ebuild |
47 | =================================================================== |
48 | # Copyright 1999-2010 Gentoo Foundation |
49 | # Distributed under the terms of the GNU General Public License v2 |
50 | # $Header: /var/cvsroot/gentoo-x86/app-text/dos2unix/dos2unix-5.1.1.ebuild,v 1.1 2010/09/03 05:29:35 jlec Exp $ |
51 | |
52 | EAPI="3" |
53 | |
54 | inherit toolchain-funcs |
55 | |
56 | DESCRIPTION="Convert DOS or MAC text files to UNIX format or vice versa" |
57 | HOMEPAGE="http://www.xs4all.nl/~waterlan/dos2unix.html http://sourceforge.net/projects/dos2unix/" |
58 | SRC_URI=" |
59 | http://www.xs4all.nl/~waterlan/${PN}/${P}.tar.gz |
60 | mirror://sourceforge/${PN}/${P}.tar.gz" |
61 | |
62 | LICENSE="BSD-2" |
63 | SLOT="0" |
64 | 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" |
65 | IUSE="nls" |
66 | |
67 | DEPEND="virtual/libintl" |
68 | RDEPEND=" |
69 | ${DEPEND} |
70 | !app-text/hd2u |
71 | !app-text/unix2dos" |
72 | |
73 | src_prepare() { |
74 | sed \ |
75 | -e '/^LDFLAGS/s|=|+=|' \ |
76 | -e '/^CC/s|=|?=|' \ |
77 | -e '/CFLAGS_OS \+=/d' \ |
78 | -e '/LDFLAGS_EXTRA \+=/d' \ |
79 | -i "${S}"/Makefile |
80 | tc-export CC |
81 | } |
82 | |
83 | lintl() { |
84 | # same logic as from virtual/libintl |
85 | use !elibc_glibc && use !elibc_uclibc && echo "-lintl" |
86 | } |
87 | |
88 | src_compile() { |
89 | emake prefix="${EPREFIX}"/usr \ |
90 | $(use nls && echo "LDFLAGS_EXTRA=$(lintl)" || echo "ENABLE_NLS=") \ |
91 | || die |
92 | } |
93 | |
94 | src_install() { |
95 | emake DESTDIR="${D}" prefix="${EPREFIX}"/usr \ |
96 | $(use nls || echo "ENABLE_NLS=") install \ |
97 | || die "emake install failed" |
98 | } |