summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gilbert <floppym@gentoo.org>2017-02-12 18:09:39 -0500
committerMike Gilbert <floppym@gentoo.org>2017-02-12 18:13:21 -0500
commit1512c9f2dc022ead6250b096c176cf1337caf0e7 (patch)
treecd9d969565498862a5271e98b37a1b7a8ea144e1
parentmedia-gfx/digikam: Fix build with KF-5.31 or clang (diff)
downloadgentoo-1512c9f2dc022ead6250b096c176cf1337caf0e7.tar.gz
gentoo-1512c9f2dc022ead6250b096c176cf1337caf0e7.tar.bz2
gentoo-1512c9f2dc022ead6250b096c176cf1337caf0e7.zip
dev-util/pkgconf: bump to 1.2.2
Package-Manager: Portage-2.3.3_p49, Repoman-2.3.1_p42
-rw-r--r--dev-util/pkgconf/Manifest1
-rw-r--r--dev-util/pkgconf/pkgconf-1.2.2.ebuild62
2 files changed, 63 insertions, 0 deletions
diff --git a/dev-util/pkgconf/Manifest b/dev-util/pkgconf/Manifest
index 3ee0f428851c..fb5a9459096c 100644
--- a/dev-util/pkgconf/Manifest
+++ b/dev-util/pkgconf/Manifest
@@ -3,3 +3,4 @@ DIST pkgconf-0.9.12.tar.bz2 87109 SHA256 7ec8b516e655e247f4ba976837cee8081347858
DIST pkgconf-1.0.1.tar.gz 362653 SHA256 45ce2f6ab032451345185b800badd77c054040879bd2e56225dafc7fbe583cf1 SHA512 b379ed366327eb4de3a7ed732be58a3757fdcd231637f0fbc2f9b762fda08173244d05fd853d683cfa6bdad90f1d8ee663b3eae9aee024456ef46e8a021e7122 WHIRLPOOL ba9a26874d14b6dfd62858da1b50397bc0aa9637bfe0824d4911f4df1e430e60a9f589242f8dc60a792b16f5201f9e0944d637e0d3a4749a211b976459152d69
DIST pkgconf-1.0.2.tar.xz 247972 SHA256 a7c67f8603c0d0400be17b2efac0fdc9ff46625f7e50aefe4ad31eff248115dd SHA512 679c9033489076ba5691c3a830b8e300c6cb2dc9e7eeffa1a478c681c7f1cc49896b0b5d0d069b14804a5c9bc31115ba672b1f724cd6282ce26d54945a5a8a42 WHIRLPOOL e7bcb19eba08ff271a470a1c8bba13810951c20e79b7dea5352ea20b8b519d4462892c623e8383b540f5af3b6daf302386b8b1831bfed3d7d143f33cb9e0830a
DIST pkgconf-1.1.0.tar.xz 264428 SHA256 5f1ef65d73a880fa5e7012102a17f7b32010e5e46139aed85851a541ba828a63 SHA512 2d54b14b9fb830a3d30e8812f6079a95cf1e1e77fd42d1eac7a6041347094ff88b79146be93c56625c44e2dcf38af725cbbdfdda09b457b921a9a17b97a23d15 WHIRLPOOL deffe0277f48f39b3824a25f255da6cdf51bdcf973d9b19f8eb166ba388c6440451d07bf37862f044a4e8be572d4ea5406ff243759fa5f22c0e6ecce8064ba31
+DIST pkgconf-1.2.2.tar.xz 267268 SHA256 b445d16df8b6e88489039eb2d7d91d5668025cb058a1852f3e0fdee19c8cb104 SHA512 0d9f74a69bd36f55b1485341127bff08487d5216ae495cea0474e6d23bb323d5c8c7d36b25c2e58282b1bcb0d74da6bb93ee0757e98405aba42b13f2e76eeac2 WHIRLPOOL ef2fe3045b058d627a920e3f2648bbfe2de763bb3f52f61b835684b533cbd768fd0ef892d7c99b89ac73b42d02ba4409d098b285d2943cad6017617112087257
diff --git a/dev-util/pkgconf/pkgconf-1.2.2.ebuild b/dev-util/pkgconf/pkgconf-1.2.2.ebuild
new file mode 100644
index 000000000000..b79fd5fa0235
--- /dev/null
+++ b/dev-util/pkgconf/pkgconf-1.2.2.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+if [[ ${PV} == "9999" ]] ; then
+ EGIT_REPO_URI=( {https,git}://github.com/pkgconf/${PN}.git )
+ inherit autotools git-r3
+else
+ SRC_URI="https://distfiles.dereferenced.org/pkgconf/${P}.tar.xz"
+ KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc64-solaris ~x64-solaris"
+fi
+
+inherit multilib-minimal
+
+DESCRIPTION="pkg-config compatible replacement with no dependencies other than ANSI C89"
+HOMEPAGE="https://github.com/pkgconf/pkgconf"
+
+LICENSE="BSD-1"
+SLOT="0"
+IUSE="+pkg-config"
+
+# tests require 'kyua'
+RESTRICT="test"
+
+DEPEND=""
+RDEPEND="${DEPEND}
+ pkg-config? (
+ !dev-util/pkgconfig
+ !dev-util/pkg-config-lite
+ !dev-util/pkgconfig-openbsd[pkg-config]
+ )"
+
+MULTILIB_CHOST_TOOLS=(
+ /usr/bin/pkgconf
+)
+
+src_prepare() {
+ default
+
+ [[ ${PV} == "9999" ]] && eautoreconf
+ if use pkg-config; then
+ MULTILIB_CHOST_TOOLS+=(
+ /usr/bin/pkg-config
+ )
+ fi
+}
+
+multilib_src_configure() {
+ ECONF_SOURCE=${S} econf
+}
+
+multilib_src_install() {
+ default
+
+ if use pkg-config; then
+ dosym pkgconf /usr/bin/pkg-config
+ else
+ rm "${ED%/}"/usr/share/aclocal/pkg.m4 || die
+ fi
+}