Gentoo Archives: gentoo-commits

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.2.ebuild
Date: Tue, 01 Feb 2011 19:24:22
Message-Id: 20110201192413.7176A20054@flycatcher.gentoo.org
1 polynomial-c 11/02/01 19:24:13
2
3 Modified: ChangeLog
4 Added: dos2unix-5.2.ebuild
5 Log:
6 version bump
7
8 (Portage version: 2.2.0_alpha19/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.59 app-text/dos2unix/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/dos2unix/ChangeLog?rev=1.59&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/dos2unix/ChangeLog?rev=1.59&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/dos2unix/ChangeLog?r1=1.58&r2=1.59
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/app-text/dos2unix/ChangeLog,v
20 retrieving revision 1.58
21 retrieving revision 1.59
22 diff -u -r1.58 -r1.59
23 --- ChangeLog 13 Jan 2011 20:45:19 -0000 1.58
24 +++ ChangeLog 1 Feb 2011 19:24:13 -0000 1.59
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.58 2011/01/13 20:45:19 ranger Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/app-text/dos2unix/ChangeLog,v 1.59 2011/02/01 19:24:13 polynomial-c Exp $
30 +
31 +*dos2unix-5.2 (01 Feb 2011)
32 +
33 + 01 Feb 2011; Lars Wendler <polynomial-c@g.o> +dos2unix-5.2.ebuild:
34 + non-maintainer commit: version bump.
35
36 13 Jan 2011; Brent Baude <ranger@g.o> dos2unix-5.1.1.ebuild:
37 stable ppc, bug 350646
38
39
40
41 1.1 app-text/dos2unix/dos2unix-5.2.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/dos2unix/dos2unix-5.2.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/dos2unix/dos2unix-5.2.ebuild?rev=1.1&content-type=text/plain
45
46 Index: dos2unix-5.2.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.2.ebuild,v 1.1 2011/02/01 19:24:13 polynomial-c 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 -e "/^CFLAGS/s|-O2|${CFLAGS}|" \
80 -i "${S}"/Makefile || die
81 tc-export CC
82 }
83
84 lintl() {
85 # same logic as from virtual/libintl
86 use !elibc_glibc && use !elibc_uclibc && echo "-lintl"
87 }
88
89 src_compile() {
90 emake prefix="${EPREFIX}"/usr \
91 $(use nls && echo "LDFLAGS_EXTRA=$(lintl)" || echo "ENABLE_NLS=") \
92 || die
93 }
94
95 src_install() {
96 emake DESTDIR="${D}" prefix="${EPREFIX}"/usr \
97 $(use nls || echo "ENABLE_NLS=") install \
98 || die "emake install failed"
99 }