commit: 539c4125af8dbd1e363867b8043d7019f49693c0 Author: Aisha Tammy <gentoo <AT> aisha <DOT> cc> AuthorDate: Tue Sep 22 01:33:04 2020 +0000 Commit: Aisha Tammy <gentoo <AT> aisha <DOT> cc> CommitDate: Tue Sep 22 01:33:04 2020 +0000 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=539c4125
app-arch/libdeflate: version bump Package-Manager: Portage-3.0.7, Repoman-3.0.1 Signed-off-by: Aisha Tammy <gentoo <AT> aisha.cc> app-arch/libdeflate/libdeflate-1.6.ebuild | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/app-arch/libdeflate/libdeflate-1.6.ebuild b/app-arch/libdeflate/libdeflate-1.6.ebuild new file mode 100644 index 000000000..5485ad25f --- /dev/null +++ b/app-arch/libdeflate/libdeflate-1.6.ebuild @@ -0,0 +1,23 @@ +# Copyright 2019-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit multilib + +DESCRIPTION="Heavily optimized DEFLATE/zlib/gzip (de)compression" +HOMEPAGE="https://github.com/ebiggers/libdeflate" +SRC_URI="https://github.com/ebiggers/libdeflate/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="static-libs" + +src_install() { + if ! use static-libs; then + find "${ED}" -name '*.a' -delete || die + fi + emake install DESTDIR="${ED}" PREFIX=/usr LIBDIR=/usr/"$(get_libdir)" + dodoc NEWS README.md +}
