1 |
ssuominen 13/02/25 07:33:09 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: pkgconfig-openbsd-20130225.ebuild |
5 |
Log: |
6 |
Version bump, keyword for testing, eapi bump, pkg.m4 from pkg-config 0.28, and more |
7 |
|
8 |
(Portage version: 2.2.0_alpha163/cvs/Linux x86_64, signed Manifest commit with key 4868F14D) |
9 |
|
10 |
Revision Changes Path |
11 |
1.10 dev-util/pkgconfig-openbsd/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/pkgconfig-openbsd/ChangeLog?rev=1.10&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/pkgconfig-openbsd/ChangeLog?rev=1.10&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/pkgconfig-openbsd/ChangeLog?r1=1.9&r2=1.10 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/dev-util/pkgconfig-openbsd/ChangeLog,v |
20 |
retrieving revision 1.9 |
21 |
retrieving revision 1.10 |
22 |
diff -u -r1.9 -r1.10 |
23 |
--- ChangeLog 13 Jul 2012 09:32:54 -0000 1.9 |
24 |
+++ ChangeLog 25 Feb 2013 07:33:09 -0000 1.10 |
25 |
@@ -1,6 +1,13 @@ |
26 |
# ChangeLog for dev-util/pkgconfig-openbsd |
27 |
-# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/dev-util/pkgconfig-openbsd/ChangeLog,v 1.9 2012/07/13 09:32:54 ssuominen Exp $ |
29 |
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 |
30 |
+# $Header: /var/cvsroot/gentoo-x86/dev-util/pkgconfig-openbsd/ChangeLog,v 1.10 2013/02/25 07:33:09 ssuominen Exp $ |
31 |
+ |
32 |
+*pkgconfig-openbsd-20130225 (25 Feb 2013) |
33 |
+ |
34 |
+ 25 Feb 2013; Samuli Suominen <ssuominen@g.o> |
35 |
+ +pkgconfig-openbsd-20130225.ebuild: |
36 |
+ Version bump. Keyword ~əmd64 and ~x86 to get more people test this, not a |
37 |
+ candidate for stabilization. Use pkg.m4 from pkg-config-0.28. |
38 |
|
39 |
13 Jul 2012; Samuli Suominen <ssuominen@g.o> |
40 |
pkgconfig-openbsd-20120710.ebuild: |
41 |
|
42 |
|
43 |
|
44 |
1.1 dev-util/pkgconfig-openbsd/pkgconfig-openbsd-20130225.ebuild |
45 |
|
46 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/pkgconfig-openbsd/pkgconfig-openbsd-20130225.ebuild?rev=1.1&view=markup |
47 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/pkgconfig-openbsd/pkgconfig-openbsd-20130225.ebuild?rev=1.1&content-type=text/plain |
48 |
|
49 |
Index: pkgconfig-openbsd-20130225.ebuild |
50 |
=================================================================== |
51 |
# Copyright 1999-2013 Gentoo Foundation |
52 |
# Distributed under the terms of the GNU General Public License v2 |
53 |
# $Header: /var/cvsroot/gentoo-x86/dev-util/pkgconfig-openbsd/pkgconfig-openbsd-20130225.ebuild,v 1.1 2013/02/25 07:33:09 ssuominen Exp $ |
54 |
|
55 |
EAPI=5 |
56 |
|
57 |
# cvs -d anoncvs@×××××××××××××××.org:/cvs get src/usr.bin/pkg-config |
58 |
|
59 |
PKG_M4_VERSION=0.28 |
60 |
|
61 |
DESCRIPTION="A perl based version of pkg-config from OpenBSD" |
62 |
HOMEPAGE="http://www.openbsd.org/cgi-bin/cvsweb/src/usr.bin/pkg-config/" |
63 |
SRC_URI="http://dev.gentoo.org/~ssuominen/${P}.tar.xz |
64 |
pkg-config? ( http://pkgconfig.freedesktop.org/releases/pkg-config-${PKG_M4_VERSION}.tar.gz )" |
65 |
|
66 |
LICENSE="ISC" |
67 |
SLOT="0" |
68 |
KEYWORDS="~amd64 ~x86" |
69 |
IUSE="+pkg-config" |
70 |
|
71 |
DEPEND=" |
72 |
pkg-config? ( |
73 |
!dev-util/pkgconfig |
74 |
!dev-util/pkgconf[pkg-config] |
75 |
)" |
76 |
RDEPEND="${DEPEND} |
77 |
dev-lang/perl |
78 |
virtual/perl-Getopt-Long" |
79 |
|
80 |
S=${WORKDIR}/${P}/src |
81 |
|
82 |
src_prepare() { |
83 |
# Config.pm from dev-lang/perl doesn't set ARCH, only archname |
84 |
sed -i -e '/Config/s:ARCH:archname:' usr.bin/pkg-config/pkg-config || die |
85 |
} |
86 |
|
87 |
src_install() { |
88 |
if use pkg-config; then |
89 |
dobin usr.bin/pkg-config/pkg-config |
90 |
doman usr.bin/pkg-config/pkg-config.1 |
91 |
|
92 |
insinto /usr/share/aclocal |
93 |
doins "${WORKDIR}"/pkg-config-*/pkg.m4 |
94 |
else |
95 |
newbin usr.bin/pkg-config/pkg-config pkg-config-openbsd |
96 |
newman usr.bin/pkg-config/pkg-config.1 pkg-config-openbsd.1 |
97 |
fi |
98 |
|
99 |
insinto /usr/share/${PN} |
100 |
doins -r usr.bin/pkg-config/OpenBSD |
101 |
|
102 |
cat <<-EOF > "${T}"/99${PN} |
103 |
COLON_SEPARATED=PERL5LIB |
104 |
PERL5LIB=/usr/share/${PN} |
105 |
EOF |
106 |
|
107 |
doenvd "${T}"/99${PN} |
108 |
} |