Gentoo Archives: gentoo-commits

From: "Samuli Suominen (ssuominen)" <ssuominen@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-util/pkgconfig-openbsd: ChangeLog pkgconfig-openbsd-20120710.ebuild
Date: Tue, 10 Jul 2012 16:40:17
Message-Id: 20120710164004.8B53E20063@flycatcher.gentoo.org
1 ssuominen 12/07/10 16:40:04
2
3 Modified: ChangeLog
4 Added: pkgconfig-openbsd-20120710.ebuild
5 Log:
6 New snapshot after upstream restructure.
7
8 (Portage version: 2.2.0_alpha116/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.7 dev-util/pkgconfig-openbsd/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/pkgconfig-openbsd/ChangeLog?rev=1.7&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/pkgconfig-openbsd/ChangeLog?rev=1.7&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/pkgconfig-openbsd/ChangeLog?r1=1.6&r2=1.7
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-util/pkgconfig-openbsd/ChangeLog,v
20 retrieving revision 1.6
21 retrieving revision 1.7
22 diff -u -r1.6 -r1.7
23 --- ChangeLog 4 May 2012 16:16:16 -0000 1.6
24 +++ ChangeLog 10 Jul 2012 16:40:04 -0000 1.7
25 @@ -1,6 +1,12 @@
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.6 2012/05/04 16:16:16 ssuominen Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-util/pkgconfig-openbsd/ChangeLog,v 1.7 2012/07/10 16:40:04 ssuominen Exp $
30 +
31 +*pkgconfig-openbsd-20120710 (10 Jul 2012)
32 +
33 + 10 Jul 2012; Samuli Suominen <ssuominen@g.o>
34 + +pkgconfig-openbsd-20120710.ebuild:
35 + New snapshot after upstream restructure.
36
37 04 May 2012; Samuli Suominen <ssuominen@g.o>
38 pkgconfig-openbsd-20120504.ebuild:
39
40
41
42 1.1 dev-util/pkgconfig-openbsd/pkgconfig-openbsd-20120710.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/pkgconfig-openbsd/pkgconfig-openbsd-20120710.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/pkgconfig-openbsd/pkgconfig-openbsd-20120710.ebuild?rev=1.1&content-type=text/plain
46
47 Index: pkgconfig-openbsd-20120710.ebuild
48 ===================================================================
49 # Copyright 1999-2012 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/dev-util/pkgconfig-openbsd/pkgconfig-openbsd-20120710.ebuild,v 1.1 2012/07/10 16:40:04 ssuominen Exp $
52
53 # cvs -d anoncvs@×××××××××××××××.org:/cvs get src/usr.bin/pkg-config
54
55 EAPI=4
56
57 PKG_M4_VERSION=0.26
58
59 DESCRIPTION="A perl based version of pkg-config from OpenBSD"
60 HOMEPAGE="http://www.openbsd.org/cgi-bin/cvsweb/src/usr.bin/pkg-config/"
61 SRC_URI="http://dev.gentoo.org/~ssuominen/${P}.tar.xz
62 pkg-config? ( http://pkgconfig.freedesktop.org/releases/pkg-config-${PKG_M4_VERSION}.tar.gz )"
63
64 LICENSE="ISC"
65 SLOT="0"
66 KEYWORDS=""
67 IUSE="pkg-config"
68
69 DEPEND="
70 pkg-config? (
71 !dev-util/pkgconfig
72 !dev-util/pkg-config-lite
73 !dev-util/pkgconf[pkg-config]
74 )"
75 RDEPEND="${DEPEND}
76 dev-lang/perl
77 virtual/perl-Getopt-Long"
78
79 S=${WORKDIR}/${P}/src
80
81 src_prepare() {
82 # Config.pm from dev-lang/perl doesn't set ARCH, only archname
83 sed -i -e '/Config/s:ARCH:archname:' usr.bin/pkg-config/pkg-config || die
84 }
85
86 src_install() {
87 if use pkg-config; then
88 dobin usr.bin/pkg-config/pkg-config
89 doman usr.bin/pkg-config/pkg-config.1
90
91 insinto /usr/share/aclocal
92 doins "${WORKDIR}"/pkg-config-*/pkg.m4
93 else
94 newbin usr.bin/pkg-config/pkg-config pkg-config-openbsd
95 newman usr.bin/pkg-config/pkg-config.1 pkg-config-openbsd.1
96 fi
97
98 insinto /usr/share/${PN}
99 doins -r usr.bin/pkg-config/OpenBSD
100
101 cat <<-EOF > "${T}"/99${PN}
102 COLON_SEPARATED=PERL5LIB
103 PERL5LIB=/usr/share/${PN}
104 EOF
105
106 doenvd "${T}"/99${PN}
107 }