Gentoo Archives: gentoo-commits

From: "Tim Harder (radhermit)" <radhermit@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-text/dos2unix: dos2unix-6.0.4.ebuild ChangeLog
Date: Wed, 01 Jan 2014 00:39:11
Message-Id: 20140101003907.594A8218C7@flycatcher.gentoo.org
1 radhermit 14/01/01 00:39:07
2
3 Modified: ChangeLog
4 Added: dos2unix-6.0.4.ebuild
5 Log:
6 Version bump.
7
8 (Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key 4AB3E85B4F064CA3)
9
10 Revision Changes Path
11 1.135 app-text/dos2unix/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/dos2unix/ChangeLog?rev=1.135&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/dos2unix/ChangeLog?rev=1.135&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/dos2unix/ChangeLog?r1=1.134&r2=1.135
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/app-text/dos2unix/ChangeLog,v
20 retrieving revision 1.134
21 retrieving revision 1.135
22 diff -u -r1.134 -r1.135
23 --- ChangeLog 16 Mar 2013 09:00:32 -0000 1.134
24 +++ ChangeLog 1 Jan 2014 00:39:07 -0000 1.135
25 @@ -1,6 +1,11 @@
26 # ChangeLog for app-text/dos2unix
27 -# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/app-text/dos2unix/ChangeLog,v 1.134 2013/03/16 09:00:32 jlec Exp $
29 +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
30 +# $Header: /var/cvsroot/gentoo-x86/app-text/dos2unix/ChangeLog,v 1.135 2014/01/01 00:39:07 radhermit Exp $
31 +
32 +*dos2unix-6.0.4 (01 Jan 2014)
33 +
34 + 01 Jan 2014; Tim Harder <radhermit@g.o> +dos2unix-6.0.4.ebuild:
35 + Version bump.
36
37 16 Mar 2013; Justin Lecher <jlec@g.o> -dos2unix-6.0.2.ebuild:
38 Dop old
39
40
41
42 1.1 app-text/dos2unix/dos2unix-6.0.4.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/dos2unix/dos2unix-6.0.4.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/dos2unix/dos2unix-6.0.4.ebuild?rev=1.1&content-type=text/plain
46
47 Index: dos2unix-6.0.4.ebuild
48 ===================================================================
49 # Copyright 1999-2014 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/app-text/dos2unix/dos2unix-6.0.4.ebuild,v 1.1 2014/01/01 00:39:07 radhermit Exp $
52
53 EAPI=4
54
55 inherit toolchain-funcs
56
57 DESCRIPTION="Convert DOS or MAC text files to UNIX format or vice versa"
58 HOMEPAGE="http://www.xs4all.nl/~waterlan/dos2unix.html http://sourceforge.net/projects/dos2unix/"
59 SRC_URI="
60 http://www.xs4all.nl/~waterlan/${PN}/${P}.tar.gz
61 mirror://sourceforge/${PN}/${P}.tar.gz"
62
63 LICENSE="BSD-2"
64 SLOT="0"
65 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"
66 IUSE="debug nls"
67
68 RDEPEND="
69 !app-text/hd2u
70 !app-text/unix2dos
71 virtual/libintl"
72 DEPEND="
73 ${RDEPEND}
74 nls? ( sys-devel/gettext )
75 dev-lang/perl"
76
77 src_prepare() {
78 sed \
79 -e '/^LDFLAGS/s|=|+=|' \
80 -e '/CFLAGS_OS \+=/d' \
81 -e '/LDFLAGS_EXTRA \+=/d' \
82 -e "/^CFLAGS/s|-O2|${CFLAGS}|" \
83 -i Makefile || die
84
85 if use debug ; then
86 sed -e "/^DEBUG/s:0:1:" \
87 -e "/EXTRA_CFLAGS +=/s:-g::" \
88 -i Makefile || die
89 fi
90
91 tc-export CC
92 }
93
94 lintl() {
95 # same logic as from virtual/libintl
96 use !elibc_glibc && use !elibc_uclibc && echo "-lintl"
97 }
98
99 src_compile() {
100 emake prefix="${EPREFIX}/usr" \
101 $(use nls && echo "LDFLAGS_EXTRA=$(lintl)" || echo "ENABLE_NLS=")
102 }
103
104 src_install() {
105 emake DESTDIR="${D}" prefix="${EPREFIX}/usr" \
106 $(use nls || echo "ENABLE_NLS=") install
107 }