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