commit:     c59ce6938e54eccd242843ca452c107f603c5be0
Author:     Petr Vaněk <arkamar <AT> gentoo <DOT> org>
AuthorDate: Tue Sep 10 12:40:06 2024 +0000
Commit:     Petr Vaněk <arkamar <AT> gentoo <DOT> org>
CommitDate: Tue Sep 10 13:20:04 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c59ce693

dev-libs/liblzw: update EAPI 7 -> 8

Signed-off-by: Petr Vaněk <arkamar <AT> gentoo.org>

 dev-libs/liblzw/liblzw-0.3-r1.ebuild | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

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
+}

Reply via email to