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-7.2.3.ebuild dos2unix-7.2.1.ebuild
Date: Thu, 02 Jul 2015 07:19:03
Message-Id: 20150702071856.DE06C741@oystercatcher.gentoo.org
1 polynomial-c 15/07/02 07:18:56
2
3 Modified: ChangeLog
4 Added: dos2unix-7.2.3.ebuild
5 Removed: dos2unix-7.2.1.ebuild
6 Log:
7 Version bump. Removed old
8
9 (Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key 0x981CA6FC)
10
11 Revision Changes Path
12 1.162 app-text/dos2unix/ChangeLog
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/dos2unix/ChangeLog?rev=1.162&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/dos2unix/ChangeLog?rev=1.162&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/dos2unix/ChangeLog?r1=1.161&r2=1.162
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/app-text/dos2unix/ChangeLog,v
21 retrieving revision 1.161
22 retrieving revision 1.162
23 diff -u -r1.161 -r1.162
24 --- ChangeLog 9 Jun 2015 12:19:32 -0000 1.161
25 +++ ChangeLog 2 Jul 2015 07:18:56 -0000 1.162
26 @@ -1,6 +1,12 @@
27 # ChangeLog for app-text/dos2unix
28 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/app-text/dos2unix/ChangeLog,v 1.161 2015/06/09 12:19:32 jlec Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/app-text/dos2unix/ChangeLog,v 1.162 2015/07/02 07:18:56 polynomial-c Exp $
31 +
32 +*dos2unix-7.2.3 (02 Jul 2015)
33 +
34 + 02 Jul 2015; Lars Wendler <polynomial-c@g.o> -dos2unix-7.2.1.ebuild,
35 + +dos2unix-7.2.3.ebuild, -files/dos2unix-7.2-gb18030-test.patch:
36 + Version bump. Removed old.
37
38 09 Jun 2015; Justin Lecher <jlec@g.o> metadata.xml:
39 Updating remote-id in metadata.xml
40
41
42
43 1.1 app-text/dos2unix/dos2unix-7.2.3.ebuild
44
45 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/dos2unix/dos2unix-7.2.3.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/dos2unix/dos2unix-7.2.3.ebuild?rev=1.1&content-type=text/plain
47
48 Index: dos2unix-7.2.3.ebuild
49 ===================================================================
50 # Copyright 1999-2015 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/app-text/dos2unix/dos2unix-7.2.3.ebuild,v 1.1 2015/07/02 07:18:56 polynomial-c Exp $
53
54 EAPI=5
55
56 inherit eutils 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="debug nls test"
68
69 RDEPEND="
70 !app-text/hd2u
71 !app-text/unix2dos
72 virtual/libintl"
73 DEPEND="
74 ${RDEPEND}
75 nls? ( sys-devel/gettext )
76 test? ( virtual/perl-Test-Simple )
77 dev-lang/perl"
78
79 src_prepare() {
80 sed \
81 -e '/^LDFLAGS/s|=|+=|' \
82 -e '/CFLAGS_OS \+=/d' \
83 -e '/LDFLAGS_EXTRA \+=/d' \
84 -e "/^CFLAGS/s|-O2|${CFLAGS}|" \
85 -i Makefile || die
86
87 if use debug ; then
88 sed -e "/^DEBUG/s:0:1:" \
89 -e "/EXTRA_CFLAGS +=/s:-g::" \
90 -i Makefile || die
91 fi
92
93 tc-export CC
94 }
95
96 lintl() {
97 # same logic as from virtual/libintl
98 use !elibc_glibc && use !elibc_uclibc && echo "-lintl"
99 }
100
101 src_compile() {
102 emake prefix="${EPREFIX}/usr" \
103 $(usex nls "LDFLAGS_EXTRA=$(lintl)" "ENABLE_NLS=")
104 }
105
106 src_install() {
107 emake DESTDIR="${D}" prefix="${EPREFIX}/usr" \
108 $(usex nls "" "ENABLE_NLS=") install
109 }