summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPetr Vaněk <arkamar@gentoo.org>2024-09-10 14:40:06 +0200
committerPetr Vaněk <arkamar@gentoo.org>2024-09-10 15:20:04 +0200
commitc59ce6938e54eccd242843ca452c107f603c5be0 (patch)
tree6841c5fdf1c90659590e988016d9b820b0c518b6 /dev-libs/liblzw
parentdev-libs/liblzw: drop 0.2-r1 (diff)
downloadgentoo-c59ce6938e54eccd242843ca452c107f603c5be0.tar.gz
gentoo-c59ce6938e54eccd242843ca452c107f603c5be0.tar.bz2
gentoo-c59ce6938e54eccd242843ca452c107f603c5be0.zip
dev-libs/liblzw: update EAPI 7 -> 8
Signed-off-by: Petr Vaněk <arkamar@gentoo.org>
Diffstat (limited to 'dev-libs/liblzw')
-rw-r--r--dev-libs/liblzw/liblzw-0.3-r1.ebuild22
1 files changed, 22 insertions, 0 deletions
diff --git a/dev-libs/liblzw/liblzw-0.3-r1.ebuild b/dev-libs/liblzw/liblzw-0.3-r1.ebuild
new file mode 100644
index 000000000000..97079daf6d78
--- /dev/null
+++ b/dev-libs/liblzw/liblzw-0.3-r1.ebuild
@@ -0,0 +1,22 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DESCRIPTION="small C library for reading LZW compressed files (.Z)"
+HOMEPAGE="https://github.com/vapier/liblzw"
+SRC_URI="https://github.com/vapier/liblzw/releases/download/v${PV}/${P}.tar.xz"
+
+LICENSE="public-domain"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~hppa ~ia64 ~m68k ~s390 ~x86"
+IUSE="static-libs"
+
+src_configure() {
+ econf --disable-werror $(use_enable static{-libs,})
+}
+
+src_install() {
+ default
+ find "${D}" -name '*.la' -delete || die
+}