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