Gentoo Archives: gentoo-commits

From: "Mike Frysinger (vapier)" <vapier@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sys-apps/gawk: ChangeLog gawk-4.0.0.ebuild
Date: Sun, 03 Jul 2011 19:39:25
Message-Id: 20110703193825.96FB12004B@flycatcher.gentoo.org
1 vapier 11/07/03 19:38:25
2
3 Modified: ChangeLog
4 Added: gawk-4.0.0.ebuild
5 Log:
6 Version bump #373937 by Lars Wendler.
7
8 (Portage version: 2.2.0_alpha41/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.132 sys-apps/gawk/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/gawk/ChangeLog?rev=1.132&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/gawk/ChangeLog?rev=1.132&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/gawk/ChangeLog?r1=1.131&r2=1.132
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/sys-apps/gawk/ChangeLog,v
20 retrieving revision 1.131
21 retrieving revision 1.132
22 diff -u -r1.131 -r1.132
23 --- ChangeLog 15 Aug 2010 21:30:52 -0000 1.131
24 +++ ChangeLog 3 Jul 2011 19:38:25 -0000 1.132
25 @@ -1,6 +1,11 @@
26 # ChangeLog for sys-apps/gawk
27 -# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/gawk/ChangeLog,v 1.131 2010/08/15 21:30:52 truedfx Exp $
29 +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
30 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/gawk/ChangeLog,v 1.132 2011/07/03 19:38:25 vapier Exp $
31 +
32 +*gawk-4.0.0 (03 Jul 2011)
33 +
34 + 03 Jul 2011; Mike Frysinger <vapier@g.o> +gawk-4.0.0.ebuild:
35 + Version bump #373937 by Lars Wendler.
36
37 15 Aug 2010; Harald van Dijk <truedfx@g.o> gawk-3.1.8.ebuild:
38 Fix quoting
39
40
41
42 1.1 sys-apps/gawk/gawk-4.0.0.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/gawk/gawk-4.0.0.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/gawk/gawk-4.0.0.ebuild?rev=1.1&content-type=text/plain
46
47 Index: gawk-4.0.0.ebuild
48 ===================================================================
49 # Copyright 1999-2011 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/sys-apps/gawk/gawk-4.0.0.ebuild,v 1.1 2011/07/03 19:38:25 vapier Exp $
52
53 EAPI="2"
54
55 inherit eutils toolchain-funcs multilib
56
57 DESCRIPTION="GNU awk pattern-matching language"
58 HOMEPAGE="http://www.gnu.org/software/gawk/gawk.html"
59 SRC_URI="mirror://gnu/gawk/${P}.tar.bz2"
60
61 LICENSE="GPL-2"
62 SLOT="0"
63 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd"
64 IUSE="nls"
65
66 # older gawk's provided shared lib for baselayout-1
67 RDEPEND="!<sys-apps/baselayout-2.0.1"
68 DEPEND="${RDEPEND}
69 nls? ( sys-devel/gettext )"
70
71 src_prepare() {
72 # use symlinks rather than hardlinks, and disable version links
73 sed -i \
74 -e '/^LN =/s:=.*:= $(LN_S):' \
75 -e '/install-exec-hook:/s|$|\nfoo:|' \
76 Makefile.in doc/Makefile.in
77 }
78
79 src_configure() {
80 export ac_cv_libsigsegv=no
81 econf \
82 --libexec='$(libdir)/misc' \
83 $(use_enable nls)
84 }
85
86 src_install() {
87 emake install DESTDIR="${D}" || die
88
89 # Keep important gawk in /bin
90 if use userland_GNU ; then
91 dodir /bin
92 mv "${D}"/usr/bin/gawk "${D}"/bin/ || die
93 dosym /bin/gawk /usr/bin/gawk
94
95 # Provide canonical `awk`
96 dosym gawk /bin/awk
97 dosym gawk /usr/bin/awk
98 dosym gawk.1 /usr/share/man/man1/awk.1
99 fi
100
101 # Install headers
102 insinto /usr/include/awk
103 doins *.h || die
104 rm "${D}"/usr/include/awk/config.h || die
105
106 dodoc AUTHORS ChangeLog FUTURES LIMITATIONS NEWS PROBLEMS POSIX.STD README README_d/*.*
107 for x in */ChangeLog ; do
108 newdoc ${x} ${x##*/}.${x%%/*}
109 done
110 }