Gentoo Archives: gentoo-commits

From: Ian Delaney <idella4@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/pkgconf/
Date: Tue, 08 Dec 2015 15:30:58
Message-Id: 1449577101.2448451a194e0473c88d114328584bd08ca218cf.idella4@gentoo
1 commit: 2448451a194e0473c88d114328584bd08ca218cf
2 Author: Elizabeth Myers <elizabeth <AT> interlinked <DOT> me>
3 AuthorDate: Tue Dec 8 12:18:21 2015 +0000
4 Commit: Ian Delaney <idella4 <AT> gentoo <DOT> org>
5 CommitDate: Tue Dec 8 12:18:21 2015 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2448451a
7
8 dev-util/pkgconf: bump to version 0.9.12.
9
10 This version fixes some deduplication edge cases on -L and -I
11 CFLAGS/LIBS.
12
13 dev-util/pkgconf/Manifest | 1 +
14 dev-util/pkgconf/pkgconf-0.9.12.ebuild | 58 ++++++++++++++++++++++++++++++++++
15 2 files changed, 59 insertions(+)
16
17 diff --git a/dev-util/pkgconf/Manifest b/dev-util/pkgconf/Manifest
18 index 21abdbf..c86c49e 100644
19 --- a/dev-util/pkgconf/Manifest
20 +++ b/dev-util/pkgconf/Manifest
21 @@ -1 +1,2 @@
22 DIST pkgconf-0.9.11.tar.bz2 86489 SHA256 3bdae1b2672133943dc0dda694ed57074f8b03c3fea10efb215d76d3cabe2c3b SHA512 21313ef29afcaa7c49a8cb512ecd3a821693945c22fb1a670ada74f41bca320e1b9ffb64e79adc2c33cb86822b74ddc850fadb16ddcde7eb805b81a50096992f WHIRLPOOL 7442a456af7e959c86f318ee74ec89883cc4e2ad16c9708f98d8ab30cdcf71ea7ef13f7e0f9bf945717b1dea8a317ffc5322878f88a5084c2dcbdc2aeafaf4d2
23 +DIST pkgconf-0.9.12.tar.bz2 87109 SHA256 7ec8b516e655e247f4ba976837cee808134785819ab8f538f652fe919cc6c09f SHA512 efe13db7a46992eb44ead493fc12b3fc6a5567e0206f701b6c48d9b5eb0bc90fcc9ae7a7e08ae641bb10df869287e5b68291701d4013d6cf27bd2b1518c29192 WHIRLPOOL 9fa7336e111f29648f5c37310bdeb2266bead1b86ff18183cfb57c06054916d235da20a5723bd364497d20a1f4db399eaf77f38c0bfc1519f2b7b825ab4666d0
24
25 diff --git a/dev-util/pkgconf/pkgconf-0.9.12.ebuild b/dev-util/pkgconf/pkgconf-0.9.12.ebuild
26 new file mode 100644
27 index 0000000..7ee43de
28 --- /dev/null
29 +++ b/dev-util/pkgconf/pkgconf-0.9.12.ebuild
30 @@ -0,0 +1,58 @@
31 +# Copyright 1999-2015 Gentoo Foundation
32 +# Distributed under the terms of the GNU General Public License v2
33 +# $Id$
34 +
35 +EAPI=5
36 +
37 +if [[ ${PV} == "9999" ]] ; then
38 + EGIT_REPO_URI="git://github.com/pkgconf/pkgconf.git"
39 + inherit autotools git-2 multilib-minimal
40 +else
41 + inherit eutils multilib-minimal
42 + SRC_URI="http://rabbit.dereferenced.org/~nenolod/distfiles/${P}.tar.bz2"
43 + KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc64-solaris ~x64-solaris"
44 +fi
45 +
46 +DESCRIPTION="pkg-config compatible replacement with no dependencies other than ANSI C89"
47 +HOMEPAGE="https://github.com/pkgconf/pkgconf"
48 +
49 +LICENSE="BSD-1"
50 +SLOT="0"
51 +IUSE="+pkg-config strict"
52 +
53 +RESTRICT="test" # at least until 0.9.13
54 +
55 +DEPEND=""
56 +RDEPEND="${DEPEND}
57 + pkg-config? (
58 + !dev-util/pkgconfig
59 + !dev-util/pkg-config-lite
60 + !dev-util/pkgconfig-openbsd[pkg-config]
61 + )"
62 +
63 +MULTILIB_CHOST_TOOLS=(
64 + /usr/bin/pkgconf
65 +)
66 +
67 +src_prepare() {
68 + [[ -e configure ]] || eautoreconf
69 +
70 + if use pkg-config; then
71 + MULTILIB_CHOST_TOOLS+=(
72 + /usr/bin/pkg-config
73 + )
74 + fi
75 +}
76 +
77 +multilib_src_configure() {
78 + ECONF_SOURCE=${S} \
79 + econf $(use_enable strict)
80 +}
81 +
82 +multilib_src_install() {
83 + default
84 + use pkg-config \
85 + && dosym pkgconf /usr/bin/pkg-config \
86 + || rm "${ED}"/usr/share/aclocal/pkg.m4 \
87 + || die
88 +}