dev-libs/ivykis: make static libs optional
authorTomas Mozes <hydrapolic@gmail.com>
Fri, 22 Jun 2018 12:36:20 +0000 (14:36 +0200)
committerMichał Górny <mgorny@gentoo.org>
Fri, 22 Jun 2018 18:40:34 +0000 (20:40 +0200)
Package-Manager: Portage-2.3.40, Repoman-2.3.9

dev-libs/ivykis/ivykis-0.42.3-r1.ebuild [new file with mode: 0644]

diff --git a/dev-libs/ivykis/ivykis-0.42.3-r1.ebuild b/dev-libs/ivykis/ivykis-0.42.3-r1.ebuild
new file mode 100644 (file)
index 0000000..a5ee1b0
--- /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="Library for asynchronous I/O readiness notification"
+HOMEPAGE="https://github.com/buytenh/ivykis"
+SRC_URI="https://github.com/buytenh/ivykis/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+IUSE="static-libs"
+
+src_configure() {
+       econf $(use_enable static-libs static)
+}
+
+src_install() {
+       default
+
+       find "${ED}" -name "*.la" -delete || die
+}