dev-libs/liblzw: EAPI7 revbump, improve ebuild
authorMichael Mair-Keimberger <m.mairkeimberger@gmail.com>
Sat, 29 Sep 2018 17:15:59 +0000 (19:15 +0200)
committerMichał Górny <mgorny@gentoo.org>
Sun, 30 Sep 2018 13:21:21 +0000 (15:21 +0200)
Closes: https://bugs.gentoo.org/667306
Signed-off-by: Michael Mair-Keimberger <m.mairkeimberger@gmail.com>
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Closes: https://github.com/gentoo/gentoo/pull/10014

dev-libs/liblzw/liblzw-0.2-r1.ebuild [new file with mode: 0644]

diff --git a/dev-libs/liblzw/liblzw-0.2-r1.ebuild b/dev-libs/liblzw/liblzw-0.2-r1.ebuild
new file mode 100644 (file)
index 0000000..d261378
--- /dev/null
@@ -0,0 +1,21 @@
+# Copyright 1999-2018 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DESCRIPTION="small C library for reading LZW compressed files (.Z)"
+HOMEPAGE="https://github.com/vapier/liblzw"
+SRC_URI="mirror://sourceforge/freestdf/${P}.tar.lzma"
+
+LICENSE="public-domain"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~hppa ~ia64 ~m68k ~s390 ~sh ~x86"
+
+src_configure(){
+       econf --disable-static
+}
+
+src_install(){
+       default
+       find "${D}" -name '*.la' -delete || die
+}