From: | "Mike Frysinger (vapier)" <vapier@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in sys-devel/gnuconfig: ChangeLog gnuconfig-20100122.ebuild |
Date: | Mon, 08 Feb 2010 23:22:11 |
Message-Id: | E1Necvh-0005Re-Kv@stork.gentoo.org |
1 | vapier 10/02/08 23:22:09 |
2 | |
3 | Modified: ChangeLog |
4 | Added: gnuconfig-20100122.ebuild |
5 | Log: |
6 | Version bump. |
7 | (Portage version: 2.2_rc61/cvs/Linux x86_64) |
8 | |
9 | Revision Changes Path |
10 | 1.46 sys-devel/gnuconfig/ChangeLog |
11 | |
12 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-devel/gnuconfig/ChangeLog?rev=1.46&view=markup |
13 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-devel/gnuconfig/ChangeLog?rev=1.46&content-type=text/plain |
14 | diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-devel/gnuconfig/ChangeLog?r1=1.45&r2=1.46 |
15 | |
16 | Index: ChangeLog |
17 | =================================================================== |
18 | RCS file: /var/cvsroot/gentoo-x86/sys-devel/gnuconfig/ChangeLog,v |
19 | retrieving revision 1.45 |
20 | retrieving revision 1.46 |
21 | diff -u -r1.45 -r1.46 |
22 | --- ChangeLog 8 Feb 2010 23:21:40 -0000 1.45 |
23 | +++ ChangeLog 8 Feb 2010 23:22:08 -0000 1.46 |
24 | @@ -1,6 +1,12 @@ |
25 | # ChangeLog for sys-devel/gnuconfig |
26 | # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
27 | -# $Header: /var/cvsroot/gentoo-x86/sys-devel/gnuconfig/ChangeLog,v 1.45 2010/02/08 23:21:40 vapier Exp $ |
28 | +# $Header: /var/cvsroot/gentoo-x86/sys-devel/gnuconfig/ChangeLog,v 1.46 2010/02/08 23:22:08 vapier Exp $ |
29 | + |
30 | +*gnuconfig-20100122 (08 Feb 2010) |
31 | + |
32 | + 08 Feb 2010; Mike Frysinger <vapier@g.o> |
33 | + +gnuconfig-20100122.ebuild: |
34 | + Version bump. |
35 | |
36 | 08 Feb 2010; Mike Frysinger <vapier@g.o> gnuconfig-20090819.ebuild: |
37 | Stabilize for everyone. |
38 | |
39 | |
40 | |
41 | 1.1 sys-devel/gnuconfig/gnuconfig-20100122.ebuild |
42 | |
43 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-devel/gnuconfig/gnuconfig-20100122.ebuild?rev=1.1&view=markup |
44 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-devel/gnuconfig/gnuconfig-20100122.ebuild?rev=1.1&content-type=text/plain |
45 | |
46 | Index: gnuconfig-20100122.ebuild |
47 | =================================================================== |
48 | # Copyright 1999-2010 Gentoo Foundation |
49 | # Distributed under the terms of the GNU General Public License v2 |
50 | # $Header: /var/cvsroot/gentoo-x86/sys-devel/gnuconfig/gnuconfig-20100122.ebuild,v 1.1 2010/02/08 23:22:08 vapier Exp $ |
51 | |
52 | inherit eutils |
53 | if [[ ${PV} == "99999999" ]] ; then |
54 | EGIT_REPO_URI="git://git.savannah.gnu.org/config.git" |
55 | inherit git |
56 | else |
57 | SRC_URI="mirror://gentoo/${P}.tar.bz2" |
58 | KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~sparc-fbsd ~x86-fbsd ~x86-freebsd ~hppa-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" |
59 | fi |
60 | |
61 | DESCRIPTION="Updated config.sub and config.guess file from GNU" |
62 | HOMEPAGE="http://savannah.gnu.org/projects/config" |
63 | |
64 | LICENSE="GPL-2" |
65 | SLOT="0" |
66 | IUSE="" |
67 | |
68 | S=${WORKDIR} |
69 | |
70 | maint_pkg_create() { |
71 | cd "${S}" |
72 | |
73 | local ver=$(head -n 1 ChangeLog | awk '{print $1}' | sed -e 's:-::g') |
74 | [[ ${#ver} != 8 ]] && die "invalid version '${ver}'" |
75 | |
76 | cp "${FILESDIR}"/${PV}/*.patch . || die |
77 | |
78 | local tar="${T}/gnuconfig-${ver}.tar.bz2" |
79 | tar -jcf ${tar} . || die "creating tar failed" |
80 | einfo "Packaged tar now available:" |
81 | einfo "$(du -b ${tar})" |
82 | } |
83 | |
84 | src_unpack() { |
85 | if [[ ${PV} == "99999999" ]] ; then |
86 | git_src_unpack |
87 | maint_pkg_create |
88 | else |
89 | unpack ${A} |
90 | fi |
91 | epatch "${WORKDIR}"/*.patch |
92 | use elibc_uclibc && sed -i 's:linux-gnu:linux-uclibc:' testsuite/config-guess.data #180637 |
93 | } |
94 | |
95 | src_compile() { :;} |
96 | |
97 | src_install() { |
98 | insinto /usr/share/${PN} |
99 | doins config.{sub,guess} || die |
100 | fperms +x /usr/share/${PN}/config.{sub,guess} |
101 | dodoc ChangeLog |
102 | } |