summaryrefslogtreecommitdiff
path: root/app-arch/lzlib
diff options
context:
space:
mode:
Diffstat (limited to 'app-arch/lzlib')
-rw-r--r--app-arch/lzlib/Manifest1
-rw-r--r--app-arch/lzlib/lzlib-1.13-r2.ebuild41
2 files changed, 42 insertions, 0 deletions
diff --git a/app-arch/lzlib/Manifest b/app-arch/lzlib/Manifest
index 8ed35d7c5c05..ba08df57c6d5 100644
--- a/app-arch/lzlib/Manifest
+++ b/app-arch/lzlib/Manifest
@@ -1,4 +1,5 @@
DIST lzlib-1.13.tar.gz 130005 BLAKE2B 88721890f111c2bb1901329e9cc39e7f581c220bb58bbc93098c34984b7557a80adff236f5755057099870ba20201f6b692925080b97965b4612d221d21cb33c SHA512 b9c4e5a9aca982984b497d1da2e1f0439b37b19acaf88a02f5af114b0a65a828c5ae235b3bd4f419ce001963de38a4d03445a6a1bd93f37e783e799abd75578d
DIST lzlib-1.13.tar.gz.sig 72 BLAKE2B 66d7a9939a5e23874a6927545f265cf315d634a166d7f22cbe4f09ab88dbae778aa9c6f77e6d5e51fbaadc9a503f735fb2bc834475089a6046782f9af22b472f SHA512 1db7a91b3a84d70874c0ec92b2764ab6805e20a351438b975f4e72dd6a1dbe5a4448d47af2bb6d056bde9c6102df375454724d536efbdaa90cd7dbf08eb01c81
EBUILD lzlib-1.13-r1.ebuild 1109 BLAKE2B 740c854b9eb729a90cff9f150fefce1ce251805641d9dcf1b5912854257ff56b118d067a3a48f13cce6b5ae04bc3cd32da20155ee94db8a56936a7f4f71c8f5e SHA512 3cceff38ef253e6fcb8ae581a3a73c91e69f83be1c91e174f9717fb0a5e9c814cbbb8766c65ba92952b626e78566a09cc6d65dd1341db5b4273e227c0d805f59
+EBUILD lzlib-1.13-r2.ebuild 1136 BLAKE2B 781c2ce842fc3a231f33dd98c1eecee8118c5a085200606e7b5ec0338ba3427176162f8b7d4ab495c9e3c918f111e41a897b2b1077bc0f55a3a8edcf72749976 SHA512 9e2447c3884439361cb88f17bbbf5c5bf353b772335ad7d4bff3d70f40a760782bcb5fbd41d86716156492591c191badfecadc1ec223f7b1523ae92f0d7652f9
MISC metadata.xml 248 BLAKE2B f308d2aa052d11e427850af58bbebf95e7773f5562ed221f39043474b4c3827d724d49667edf1874272a5586a13201159f40e8f5eafb7e400e79c6566e1a6ac2 SHA512 b875c838394523483ae7d93585207eb3c642a345bbb08e1dcef3ceb737c813fa779e2f5479d48cdcc30732b8a0a9e6ecc648df940def6731e4dff43b23786e6d
diff --git a/app-arch/lzlib/lzlib-1.13-r2.ebuild b/app-arch/lzlib/lzlib-1.13-r2.ebuild
new file mode 100644
index 000000000000..26df52f0fcc0
--- /dev/null
+++ b/app-arch/lzlib/lzlib-1.13-r2.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/antoniodiazdiaz.asc
+inherit toolchain-funcs verify-sig
+
+DESCRIPTION="Library for lzip compression"
+HOMEPAGE="https://www.nongnu.org/lzip/lzlib.html"
+SRC_URI="https://download.savannah.gnu.org/releases/lzip/${PN}/${P}.tar.gz"
+SRC_URI+=" verify-sig? ( https://download.savannah.gnu.org/releases/lzip/${PN}/${P/_/-}.tar.gz.sig )"
+
+LICENSE="libstdc++" # fancy form of GPL-2+ with library exception
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
+
+BDEPEND="verify-sig? ( sec-keys/openpgp-keys-antoniodiazdiaz )"
+
+src_configure() {
+ local myconf=(
+ --enable-shared
+ --disable-static
+ --disable-ldconfig
+ --prefix="${EPREFIX}"/usr
+ --libdir='$(prefix)'/$(get_libdir)
+ AR="$(tc-getAR)"
+ CC="$(tc-getCC)"
+ CFLAGS="${CFLAGS}"
+ CPPFLAGS="${CPPFLAGS}"
+ LDFLAGS="${LDFLAGS}"
+ )
+
+ # not autotools-based
+ ./configure "${myconf[@]}" || die
+}
+
+src_install() {
+ emake DESTDIR="${D}" install install-man
+ einstalldocs
+}