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