summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Mair-Keimberger <m.mairkeimberger@gmail.com>2018-09-29 19:15:59 +0200
committerMichał Górny <mgorny@gentoo.org>2018-09-30 15:21:21 +0200
commit4abefe703ad472858a908192386430102a9c972c (patch)
tree14ff2d8845c821ebdd0d47ac882385da8b65049e /dev-libs/liblzw
parentx11-drivers/xf86-input-tslib: remove unused patch(es) (diff)
downloadgentoo-4abefe703ad472858a908192386430102a9c972c.tar.gz
gentoo-4abefe703ad472858a908192386430102a9c972c.tar.bz2
gentoo-4abefe703ad472858a908192386430102a9c972c.zip
dev-libs/liblzw: EAPI7 revbump, improve ebuild
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
Diffstat (limited to 'dev-libs/liblzw')
-rw-r--r--dev-libs/liblzw/liblzw-0.2-r1.ebuild21
1 files changed, 21 insertions, 0 deletions
diff --git a/dev-libs/liblzw/liblzw-0.2-r1.ebuild b/dev-libs/liblzw/liblzw-0.2-r1.ebuild
new file mode 100644
index 000000000000..d2613787f461
--- /dev/null
+++ b/dev-libs/liblzw/liblzw-0.2-r1.ebuild
@@ -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
+}