From: | "Lars Wendler (polynomial-c)" <polynomial-c@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in app-text/dos2unix: ChangeLog dos2unix-5.3.ebuild |
Date: | Tue, 26 Apr 2011 23:11:00 |
Message-Id: | 20110426231048.8856F20054@flycatcher.gentoo.org |
1 | polynomial-c 11/04/26 23:10:48 |
2 | |
3 | Modified: ChangeLog |
4 | Added: dos2unix-5.3.ebuild |
5 | Log: |
6 | Version bump |
7 | |
8 | (Portage version: 2.2.0_alpha30/cvs/Linux x86_64) |
9 | |
10 | Revision Changes Path |
11 | 1.67 app-text/dos2unix/ChangeLog |
12 | |
13 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/dos2unix/ChangeLog?rev=1.67&view=markup |
14 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/dos2unix/ChangeLog?rev=1.67&content-type=text/plain |
15 | diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/dos2unix/ChangeLog?r1=1.66&r2=1.67 |
16 | |
17 | Index: ChangeLog |
18 | =================================================================== |
19 | RCS file: /var/cvsroot/gentoo-x86/app-text/dos2unix/ChangeLog,v |
20 | retrieving revision 1.66 |
21 | retrieving revision 1.67 |
22 | diff -u -r1.66 -r1.67 |
23 | --- ChangeLog 27 Mar 2011 21:55:05 -0000 1.66 |
24 | +++ ChangeLog 26 Apr 2011 23:10:48 -0000 1.67 |
25 | @@ -1,6 +1,11 @@ |
26 | # ChangeLog for app-text/dos2unix |
27 | # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
28 | -# $Header: /var/cvsroot/gentoo-x86/app-text/dos2unix/ChangeLog,v 1.66 2011/03/27 21:55:05 darkside Exp $ |
29 | +# $Header: /var/cvsroot/gentoo-x86/app-text/dos2unix/ChangeLog,v 1.67 2011/04/26 23:10:48 polynomial-c Exp $ |
30 | + |
31 | +*dos2unix-5.3 (26 Apr 2011) |
32 | + |
33 | + 26 Apr 2011; Lars Wendler <polynomial-c@g.o> +dos2unix-5.3.ebuild: |
34 | + non-maintainer commit: version bump. |
35 | |
36 | 27 Mar 2011; Jeremy Olexa <darkside@g.o> -dos2unix-5.1.ebuild, |
37 | -dos2unix-5.2.ebuild: |
38 | |
39 | |
40 | |
41 | 1.1 app-text/dos2unix/dos2unix-5.3.ebuild |
42 | |
43 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/dos2unix/dos2unix-5.3.ebuild?rev=1.1&view=markup |
44 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/dos2unix/dos2unix-5.3.ebuild?rev=1.1&content-type=text/plain |
45 | |
46 | Index: dos2unix-5.3.ebuild |
47 | =================================================================== |
48 | # Copyright 1999-2011 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.3.ebuild,v 1.1 2011/04/26 23:10:48 polynomial-c Exp $ |
51 | |
52 | EAPI="3" |
53 | |
54 | inherit eutils 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="debug nls" |
66 | |
67 | RDEPEND=" |
68 | !app-text/hd2u |
69 | !app-text/unix2dos |
70 | virtual/libintl" |
71 | DEPEND=" |
72 | ${RDEPEND} |
73 | dev-lang/perl" |
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 | -e "/^CFLAGS/s|-O2|${CFLAGS}|" \ |
82 | -i "${S}"/Makefile || die |
83 | tc-export CC |
84 | use debug && sed "/DEBUG/s:0:1:g" -i Makefile |
85 | } |
86 | |
87 | lintl() { |
88 | # same logic as from virtual/libintl |
89 | use !elibc_glibc && use !elibc_uclibc && echo "-lintl" |
90 | } |
91 | |
92 | src_compile() { |
93 | emake prefix="${EPREFIX}/usr" \ |
94 | $(use nls && echo "LDFLAGS_EXTRA=$(lintl)" || echo "ENABLE_NLS=") \ |
95 | || die |
96 | } |
97 | |
98 | src_install() { |
99 | emake DESTDIR="${D}" prefix="${EPREFIX}/usr" \ |
100 | $(use nls || echo "ENABLE_NLS=") install \ |
101 | || die "emake install failed" |
102 | } |