diff options
author | Marek Szuba <marecki@gentoo.org> | 2021-07-13 14:08:53 +0100 |
---|---|---|
committer | Marek Szuba <marecki@gentoo.org> | 2021-07-13 14:11:06 +0100 |
commit | 6bf57511643af116231bfe9bb00176f4ae8662d1 (patch) | |
tree | 7312039262c482d472b9abf78c46b018d4f30aa3 /sci-libs/szip/szip-2.1.1.ebuild | |
parent | sci-libs/szip: keyword 2.1-r2 for ~riscv (diff) | |
download | gentoo-6bf57511643af116231bfe9bb00176f4ae8662d1.tar.gz gentoo-6bf57511643af116231bfe9bb00176f4ae8662d1.tar.bz2 gentoo-6bf57511643af116231bfe9bb00176f4ae8662d1.zip |
sci-libs/szip: bump to 2.1.1 and EAPI 8
Signed-off-by: Marek Szuba <marecki@gentoo.org>
Diffstat (limited to 'sci-libs/szip/szip-2.1.1.ebuild')
-rw-r--r-- | sci-libs/szip/szip-2.1.1.ebuild | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/sci-libs/szip/szip-2.1.1.ebuild b/sci-libs/szip/szip-2.1.1.ebuild new file mode 100644 index 000000000000..cf6d7a964766 --- /dev/null +++ b/sci-libs/szip/szip-2.1.1.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DESCRIPTION="Extended-Rice lossless compression algorithm implementation" +HOMEPAGE="https://www.hdfgroup.org/doc_resource/SZIP/" +SRC_URI="https://support.hdfgroup.org/ftp/lib-external/${PN}/${PV}/src/${P}.tar.gz" + +LICENSE="szip" +SLOT="0/2" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" +IUSE="static-libs" + +RDEPEND="!sci-libs/libaec[szip]" +DEPEND="" + +DOCS=( RELEASE.txt HISTORY.txt test/example.c ) + +src_configure() { + econf $(use_enable static-libs static) +} + +src_install() { + default + + if ! use static-libs; then + find "${ED}" -name '*.la' -delete || die + fi +} |