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 sys-devel/automake: automake-1.14.1.ebuild ChangeLog
Date: Tue, 24 Dec 2013 20:29:45
Message-Id: 20131224202941.526E02004C@flycatcher.gentoo.org
1 polynomial-c 13/12/24 20:29:41
2
3 Modified: ChangeLog
4 Added: automake-1.14.1.ebuild
5 Log:
6 Version bump
7
8 (Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key 0x981CA6FC)
9
10 Revision Changes Path
11 1.209 sys-devel/automake/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/automake/ChangeLog?rev=1.209&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/automake/ChangeLog?rev=1.209&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/automake/ChangeLog?r1=1.208&r2=1.209
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/sys-devel/automake/ChangeLog,v
20 retrieving revision 1.208
21 retrieving revision 1.209
22 diff -u -r1.208 -r1.209
23 --- ChangeLog 24 Dec 2013 06:48:21 -0000 1.208
24 +++ ChangeLog 24 Dec 2013 20:29:41 -0000 1.209
25 @@ -1,6 +1,11 @@
26 # ChangeLog for sys-devel/automake
27 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/sys-devel/automake/ChangeLog,v 1.208 2013/12/24 06:48:21 vapier Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/sys-devel/automake/ChangeLog,v 1.209 2013/12/24 20:29:41 polynomial-c Exp $
30 +
31 +*automake-1.14.1 (24 Dec 2013)
32 +
33 + 24 Dec 2013; Lars Wendler <polynomial-c@g.o> +automake-1.14.1.ebuild:
34 + Version bump.
35
36 24 Dec 2013; Mike Frysinger <vapier@g.o> automake-1.10.3.ebuild,
37 automake-1.11.6.ebuild, automake-1.12.6.ebuild, automake-1.13.1.ebuild,
38
39
40
41 1.1 sys-devel/automake/automake-1.14.1.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/automake/automake-1.14.1.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/automake/automake-1.14.1.ebuild?rev=1.1&content-type=text/plain
45
46 Index: automake-1.14.1.ebuild
47 ===================================================================
48 # Copyright 1999-2013 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/sys-devel/automake/automake-1.14.1.ebuild,v 1.1 2013/12/24 20:29:41 polynomial-c Exp $
51
52 inherit eutils versionator unpacker
53
54 if [[ ${PV/_beta} == ${PV} ]]; then
55 MY_P=${P}
56 SRC_URI="mirror://gnu/${PN}/${P}.tar.xz
57 ftp://alpha.gnu.org/pub/gnu/${PN}/${MY_P}.tar.xz"
58 else
59 MY_PV="$(get_major_version).$(($(get_version_component_range 2)-1))b"
60 MY_P="${PN}-${MY_PV}"
61
62 # Alpha/beta releases are not distributed on the usual mirrors.
63 SRC_URI="ftp://alpha.gnu.org/pub/gnu/${PN}/${MY_P}.tar.xz"
64 fi
65
66 DESCRIPTION="Used to generate Makefile.in from Makefile.am"
67 HOMEPAGE="http://www.gnu.org/software/automake/"
68
69 LICENSE="GPL-2"
70 # Use Gentoo versioning for slotting.
71 SLOT="${PV:0:4}"
72 # Testing.
73 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd"
74 IUSE=""
75
76 RDEPEND="dev-lang/perl
77 >=sys-devel/automake-wrapper-9
78 >=sys-devel/autoconf-2.62
79 sys-devel/gnuconfig"
80 DEPEND="${RDEPEND}
81 sys-apps/help2man"
82
83 S="${WORKDIR}/${MY_P}"
84
85 src_unpack() {
86 unpacker_src_unpack
87 cd "${S}"
88 export WANT_AUTOCONF=2.5
89 }
90
91 src_compile() {
92 econf --docdir=/usr/share/doc/${PF} HELP2MAN=true || die
93 emake APIVERSION="${SLOT}" pkgvdatadir="/usr/share/${PN}-${SLOT}" || die
94 }
95
96 src_test() {
97 emake check || die
98 }
99
100 # slot the info pages. do this w/out munging the source so we don't have
101 # to depend on texinfo to regen things. #464146 (among others)
102 slot_info_pages() {
103 pushd "${D}"/usr/share/info >/dev/null
104 rm -f dir
105
106 # Rewrite all the references to other pages.
107 # before: * aclocal-invocation: (automake)aclocal Invocation. Generating aclocal.m4.
108 # after: * aclocal-invocation v1.13: (automake-1.13)aclocal Invocation. Generating aclocal.m4.
109 local p pages=( *.info ) args=()
110 for p in "${pages[@]/%.info}" ; do
111 args+=(
112 -e "/START-INFO-DIR-ENTRY/,/END-INFO-DIR-ENTRY/s|: (${p})| v${SLOT}&|"
113 -e "s:(${p}):(${p}-${SLOT}):g"
114 )
115 done
116 sed -i "${args[@]}" * || die
117
118 # Rewrite all the file references, and rename them in the process.
119 local f d
120 for f in * ; do
121 d=${f/.info/-${SLOT}.info}
122 mv "${f}" "${d}" || die
123 sed -i -e "s:${f}:${d}:g" * || die
124 done
125
126 popd >/dev/null
127 }
128
129 src_install() {
130 emake DESTDIR="${D}" install \
131 APIVERSION="${SLOT}" pkgvdatadir="/usr/share/${PN}-${SLOT}" || die
132 slot_info_pages
133 rm "${D}"/usr/share/aclocal/README || die
134 rmdir "${D}"/usr/share/aclocal || die
135 dodoc AUTHORS ChangeLog NEWS README THANKS
136
137 rm \
138 "${D}"/usr/bin/{aclocal,automake} \
139 "${D}"/usr/share/man/man1/{aclocal,automake}.1 || die
140
141 # remove all config.guess and config.sub files replacing them
142 # w/a symlink to a specific gnuconfig version
143 local x
144 for x in guess sub ; do
145 dosym ../gnuconfig/config.${x} /usr/share/${PN}-${SLOT}/config.${x}
146 done
147 }