diff options
author | Michael Palimaka <kensington@gentoo.org> | 2017-09-03 15:28:16 +1000 |
---|---|---|
committer | Michael Palimaka <kensington@gentoo.org> | 2017-09-03 15:28:32 +1000 |
commit | dbcb0a042eb17aa24e486251e8fe231f9309fcdf (patch) | |
tree | 0848d9103a2cb7941beec8e8f771294401efa7b4 /dev-libs/libzip | |
parent | Revert "dev-libs/libgdata: drop old revisions" (diff) | |
download | gentoo-dbcb0a042eb17aa24e486251e8fe231f9309fcdf.tar.gz gentoo-dbcb0a042eb17aa24e486251e8fe231f9309fcdf.tar.bz2 gentoo-dbcb0a042eb17aa24e486251e8fe231f9309fcdf.zip |
dev-libs/libzip: version bump 1.3.0
Package-Manager: Portage-2.3.6, Repoman-2.3.3
Diffstat (limited to 'dev-libs/libzip')
-rw-r--r-- | dev-libs/libzip/Manifest | 1 | ||||
-rw-r--r-- | dev-libs/libzip/libzip-1.3.0.ebuild | 48 |
2 files changed, 49 insertions, 0 deletions
diff --git a/dev-libs/libzip/Manifest b/dev-libs/libzip/Manifest index 91b982835ed6..4fd8d312a19b 100644 --- a/dev-libs/libzip/Manifest +++ b/dev-libs/libzip/Manifest @@ -1 +1,2 @@ DIST libzip-1.2.0.tar.xz 938284 SHA256 ffc0764395fba3d45dc5a6e32282788854618b9e9838337f8218b596007f1376 SHA512 1ba8626d72e6b47f735568afaf007d1e18beb3ebedf6b69a6b575f9e04d3b84550371191a89be153f8fcedb4a8eac2f996e141da95cdbb52380b6283cc99cf8b WHIRLPOOL 794a462fc4d1529008fccbe6df41c5616b34712ef34721e0cbe555aa12ada7928d22f6e9421de210efdf7b460188a4d6a9a6e53fc0266bcf52d47d6a7e30a5f6 +DIST libzip-1.3.0.tar.xz 955876 SHA256 aa936efe34911be7acac2ab07fb5c8efa53ed9bb4d44ad1fe8bff19630e0d373 SHA512 8e12a23fe62b993ff4592e1b9da152533a363b0603fc1f65e6cbb6121d4260c45f98171effbccb76dec4030b0fcdcd273919755a2496ab462431646ac83bb900 WHIRLPOOL eca44e4c7e3a09d90f7a9c694de01c97fdc97ce7989bd8ccf9acb8e33e10145f6860c4dd5bb282d2ab0a708d9ddb6b7ecde88bf5276365179057c02f534e182d diff --git a/dev-libs/libzip/libzip-1.3.0.ebuild b/dev-libs/libzip/libzip-1.3.0.ebuild new file mode 100644 index 000000000000..c3a635836edb --- /dev/null +++ b/dev-libs/libzip/libzip-1.3.0.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit autotools + +DESCRIPTION="Library for manipulating zip archives" +HOMEPAGE="https://nih.at/libzip/" +SRC_URI="https://www.nih.at/libzip/${P}.tar.xz" + +LICENSE="BSD" +SLOT="0/5" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~x86-macos" +IUSE="bzip2 static-libs" + +RDEPEND=" + sys-libs/zlib + bzip2? ( app-arch/bzip2 ) + elibc_musl? ( sys-libs/fts-standalone ) +" +DEPEND="${RDEPEND}" + +DOCS=( AUTHORS NEWS.md API-CHANGES THANKS ) + +PATCHES=( + "${FILESDIR}/${PN}-1.2.0-headers.patch" + "${FILESDIR}/${PN}-1.2.0-fts.patch" +) + +src_prepare() { + default + + # fails in portage build only + sed -i -e "/encryption-nonrandom-aes.*.test/d" regress/Makefile.am || die + + eautoreconf +} + +src_configure() { + econf $(use_with bzip2) +} + +src_install() { + default + use static-libs || rm "${ED%/}"/usr/$(get_libdir)/libzip.a || die + find "${D}" -name '*.la' -delete || die +} |