dev-libs/libuev: bump version to 2.1.2
authorOz N Tiram <oz.tiram@gmail.com>
Tue, 15 May 2018 01:36:19 +0000 (03:36 +0200)
committerMichał Górny <mgorny@gentoo.org>
Wed, 16 May 2018 08:10:03 +0000 (10:10 +0200)
Closes: https://github.com/gentoo/gentoo/pull/8411
Package-Manager: Portage-2.3.24, Repoman-2.3.6

dev-libs/libuev/Manifest
dev-libs/libuev/libuev-2.1.2.ebuild [new file with mode: 0644]

index 56cc5b76b113c3b4eeadf7900b01178fc0dfeb7e..dc5dab822971cfed4a3e7a330a98e35d078b4686 100644 (file)
@@ -1 +1,2 @@
 DIST libuev-2.1.0.tar.xz 247388 BLAKE2B e2934fb79e32bf61e22a7c8fcdd6371f089c5e8a4f5b3039c10c90abd852d08c5612f7b871ef705afdca68857a270dfd133a1436cd9f49876e0bf47b903e6328 SHA512 82bd68c75f015284d3757886720d1a0e5689cf71b40b896410e5e4e952761fe05b090a33e0787f632afa7726567667e4dbbbc6270129828656953ded6d28d02b
+DIST libuev-2.1.2.tar.xz 248092 BLAKE2B 7229acc6ae0e55a5ceba00e970a9e7b4b11049dc4f4435643e0541a7b3c75ac300ffc2839da0eaa7b3819a5910d20b608247812d32c028ff19c0cf3735d2941c SHA512 65a35f1e2cda5383267ba47bc90e2cdd769e5fb1318c11969c8f44262d8a5b2edad522688619aa6e9219c278286ba9ff997967f9281aa4f667fbe9b0842bf0ee
diff --git a/dev-libs/libuev/libuev-2.1.2.ebuild b/dev-libs/libuev/libuev-2.1.2.ebuild
new file mode 100644 (file)
index 0000000..e82786a
--- /dev/null
@@ -0,0 +1,23 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+DESCRIPTION="A collection of useful BSD APIs"
+HOMEPAGE="https://github.com/troglobit/libuev"
+SRC_URI="https://github.com/troglobit/${PN}/releases/download/v${PV}/${P}.tar.xz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="static-libs"
+
+src_configure(){
+       econf --enable-static=$(usex static-libs)
+}
+
+src_install(){
+       default
+       find "${D}" -name '*.la' -delete || die
+       rm "${D}/usr/share/doc/${PF}/LICENSE" || die
+}