summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-libs/libite/libite-2.1.0.ebuild')
-rw-r--r--dev-libs/libite/libite-2.1.0.ebuild23
1 files changed, 23 insertions, 0 deletions
diff --git a/dev-libs/libite/libite-2.1.0.ebuild b/dev-libs/libite/libite-2.1.0.ebuild
new file mode 100644
index 000000000000..285bb078460a
--- /dev/null
+++ b/dev-libs/libite/libite-2.1.0.ebuild
@@ -0,0 +1,23 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DESCRIPTION="A collection of useful BSD APIs"
+HOMEPAGE="https://github.com/troglobit/libite"
+SRC_URI="https://github.com/troglobit/libite/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
+}