From: | "Mike Frysinger (vapier)" <vapier@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in sys-devel/automake-wrapper: automake-wrapper-6.ebuild ChangeLog |
Date: | Sun, 02 Oct 2011 19:51:32 |
Message-Id: | 20111002195117.63F9A2004B@flycatcher.gentoo.org |
1 | vapier 11/10/02 19:51:17 |
2 | |
3 | Modified: ChangeLog |
4 | Added: automake-wrapper-6.ebuild |
5 | Log: |
6 | Optimize version lookup a bit, and handle the case where $0 is not a full path #385201 by Florian Philipp. |
7 | |
8 | (Portage version: 2.2.0_alpha59/cvs/Linux x86_64) |
9 | |
10 | Revision Changes Path |
11 | 1.48 sys-devel/automake-wrapper/ChangeLog |
12 | |
13 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/automake-wrapper/ChangeLog?rev=1.48&view=markup |
14 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/automake-wrapper/ChangeLog?rev=1.48&content-type=text/plain |
15 | diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/automake-wrapper/ChangeLog?r1=1.47&r2=1.48 |
16 | |
17 | Index: ChangeLog |
18 | =================================================================== |
19 | RCS file: /var/cvsroot/gentoo-x86/sys-devel/automake-wrapper/ChangeLog,v |
20 | retrieving revision 1.47 |
21 | retrieving revision 1.48 |
22 | diff -u -r1.47 -r1.48 |
23 | --- ChangeLog 6 Feb 2011 11:29:37 -0000 1.47 |
24 | +++ ChangeLog 2 Oct 2011 19:51:17 -0000 1.48 |
25 | @@ -1,6 +1,13 @@ |
26 | # ChangeLog for sys-devel/automake-wrapper |
27 | # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
28 | -# $Header: /var/cvsroot/gentoo-x86/sys-devel/automake-wrapper/ChangeLog,v 1.47 2011/02/06 11:29:37 leio Exp $ |
29 | +# $Header: /var/cvsroot/gentoo-x86/sys-devel/automake-wrapper/ChangeLog,v 1.48 2011/10/02 19:51:17 vapier Exp $ |
30 | + |
31 | +*automake-wrapper-6 (02 Oct 2011) |
32 | + |
33 | + 02 Oct 2011; Mike Frysinger <vapier@g.o> +automake-wrapper-6.ebuild, |
34 | + +files/am-wrapper-6.sh: |
35 | + Optimize version lookup a bit, and handle the case where $0 is not a full |
36 | + path #385201 by Florian Philipp. |
37 | |
38 | 06 Feb 2011; Mart Raudsepp <leio@g.o> automake-wrapper-3-r1.ebuild: |
39 | Drop to ~mips |
40 | |
41 | |
42 | |
43 | 1.1 sys-devel/automake-wrapper/automake-wrapper-6.ebuild |
44 | |
45 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/automake-wrapper/automake-wrapper-6.ebuild?rev=1.1&view=markup |
46 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/automake-wrapper/automake-wrapper-6.ebuild?rev=1.1&content-type=text/plain |
47 | |
48 | Index: automake-wrapper-6.ebuild |
49 | =================================================================== |
50 | # Copyright 1999-2011 Gentoo Foundation |
51 | # Distributed under the terms of the GNU General Public License v2 |
52 | # $Header: /var/cvsroot/gentoo-x86/sys-devel/automake-wrapper/automake-wrapper-6.ebuild,v 1.1 2011/10/02 19:51:17 vapier Exp $ |
53 | |
54 | inherit multilib |
55 | |
56 | DESCRIPTION="wrapper for automake to manage multiple automake versions" |
57 | HOMEPAGE="http://www.gentoo.org/" |
58 | SRC_URI="" |
59 | |
60 | LICENSE="GPL-2" |
61 | SLOT="0" |
62 | KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" |
63 | IUSE="" |
64 | |
65 | S=${WORKDIR} |
66 | |
67 | src_unpack() { |
68 | cp "${FILESDIR}"/am-wrapper-${PV}.sh "${T}"/ |
69 | # usr/bin/aclocal: bad substitution -> /bin/sh != POSIX shell |
70 | if use prefix ; then |
71 | sed -i -e '1c\#!'"${EPREFIX}"'/bin/sh' "${T}"/am-wrapper-${PV}.sh || die |
72 | fi |
73 | } |
74 | |
75 | src_install() { |
76 | exeinto /usr/$(get_libdir)/misc |
77 | newexe "${T}"/am-wrapper-${PV}.sh am-wrapper.sh || die |
78 | |
79 | keepdir /usr/share/aclocal |
80 | |
81 | dodir /usr/bin |
82 | local x= |
83 | for x in aclocal automake ; do |
84 | dosym ../$(get_libdir)/misc/am-wrapper.sh /usr/bin/${x} |
85 | done |
86 | } |