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