commit:     484cba006062e22ce9f51ad6625feab2f9e4f276
Author:     Christoph Junghans <junghans <AT> gentoo <DOT> org>
AuthorDate: Fri Jun 16 21:15:45 2017 +0000
Commit:     Christoph Junghans <junghans <AT> gentoo <DOT> org>
CommitDate: Fri Jun 16 21:16:16 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=484cba00

sci-libs/libaec: version bump

Package-Manager: Portage-2.3.5, Repoman-2.3.1

 sci-libs/libaec/Manifest            |  1 +
 sci-libs/libaec/libaec-1.0.0.ebuild | 35 +++++++++++++++++++++++++++++++++++
 2 files changed, 36 insertions(+)

diff --git a/sci-libs/libaec/Manifest b/sci-libs/libaec/Manifest
index 9cb25f850f3..9471cc22eeb 100644
--- a/sci-libs/libaec/Manifest
+++ b/sci-libs/libaec/Manifest
@@ -1 +1,2 @@
 DIST libaec-0.3.2.tar.gz 353185 SHA256 
acb7cbf4e8f3c63a9ea1af1e1a2d0c9658f4831deb7327f110bdd5c187dc3441 SHA512 
c3935f7d3e2e289e66f24d5af8f8fe21aab1044adbe883708ed64eb194bf93511fe2a9dd2b1658571ebbcc502123b3a5e6dfaa1bc4a1b85eaeaedc8b43d8085e
 WHIRLPOOL 
56214327aeebcfac3c3e828ceb8187d00b8cebeec3cf10777c25edd69c74fe7c89fca2a42591bddc3aaa14f3d301371664f80627d902709f2b87a6b54de3bcc0
+DIST libaec-1.0.0.tar.gz 3118578 SHA256 
3e79e33b380cb2f17323d3de5e70c4e656242a62bfbe72ffcea36adaa344c47d SHA512 
112ded6151e46a90adfe230d8298452b2e42105e0e9d40ce10ac49f1e0160a13fa7ddec22e22346f0d5defc397bbba7c12f9d58b08e024da19991108e6e8d8ba
 WHIRLPOOL 
21154d51c02c03c9f93c5873b4b1d5f3a53c393fe10020d8a6d5e34a7640a6d3b5fcecd6e139164ff042369e7649c4e765fedc95cda267862b38133717aee531

diff --git a/sci-libs/libaec/libaec-1.0.0.ebuild 
b/sci-libs/libaec/libaec-1.0.0.ebuild
new file mode 100644
index 00000000000..313409c2af6
--- /dev/null
+++ b/sci-libs/libaec/libaec-1.0.0.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit eutils
+# number that might change every version
+PID="631e85bcf877c2dcaca9b2e6d6526339"
+
+DESCRIPTION="Adaptive Entropy Coding library"
+HOMEPAGE="https://gitlab.dkrz.de/k202009/libaec";
+SRC_URI="${HOMEPAGE}/uploads/${PID}/${P}.tar.gz"
+
+LICENSE="BSD-2"
+SLOT="0/2"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+IUSE="static-libs +szip"
+
+DEPEND=""
+RDEPEND="szip? ( !sci-libs/szip )"
+
+src_configure() {
+       econf $(use_enable static-libs static)
+}
+
+src_install() {
+       default
+       # avoid conflict with szip (easier than to patch autotools)
+       if ! use szip; then
+               rm "${ED}"/usr/include/szlib.h || die
+               rm "${ED}"/usr/$(get_libdir)/libsz* || die
+               rm "${ED}"/usr/share/doc/${PF}/README.SZIP || die
+       fi
+       use static-libs || prune_libtool_files --all
+}

Reply via email to