summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2016-06-01 18:44:45 +0200
committerMichał Górny <mgorny@gentoo.org>2016-06-01 18:47:05 +0200
commitad3c176b10e0222997352070f0c7e1f9eeaf27e0 (patch)
tree0e84b73f033ba1a2ef56f33ee67d70eea5249263 /app-arch/lzlib
parentnet-firewall/firewalld: remove old versions 0.3.14.2, and 0.4.0 (diff)
downloadgentoo-ad3c176b10e0222997352070f0c7e1f9eeaf27e0.tar.gz
gentoo-ad3c176b10e0222997352070f0c7e1f9eeaf27e0.tar.bz2
gentoo-ad3c176b10e0222997352070f0c7e1f9eeaf27e0.zip
app-arch/lzlib: Bump to 1.8, disable static libs
Diffstat (limited to 'app-arch/lzlib')
-rw-r--r--app-arch/lzlib/Manifest1
-rw-r--r--app-arch/lzlib/lzlib-1.8.ebuild37
2 files changed, 38 insertions, 0 deletions
diff --git a/app-arch/lzlib/Manifest b/app-arch/lzlib/Manifest
index 25d7d4cd47a9..159899a780f5 100644
--- a/app-arch/lzlib/Manifest
+++ b/app-arch/lzlib/Manifest
@@ -1,2 +1,3 @@
DIST lzlib-1.6.tar.gz 91734 SHA256 c187ef5ffa9ffb01abaec667dda4d8c8b378291c68ad094c63bd75ee049e4780 SHA512 b4ebf3ad0c634593b7162479d43497b2daa1c47b979695988ed278e828fc6f6eac721b9eae238f50b7ee543f8c163fc4b51c6dcd575c37aa59aff8ca3cf903a2 WHIRLPOOL da2b6e1755c7697e3f8c7dbd82c4fc51b3503234498bfa9b860a144e8a53345e40fcd0062ad152742b247c3b03ccfb9d66046dc2372503333f30a2692efaa18d
DIST lzlib-1.7.tar.gz 94257 SHA256 88c919dbb16a8b5409fc8ccec31d3c604551d73e84cec8c964fd639452536214 SHA512 de91417f301e7c41da39b57a5bbce112d24170008f24c87ddbe7977ad912a982e62aac7ed5c2964abbf1905d6ebb2faf64b29cfba0a2bea40d35aed5eb437728 WHIRLPOOL 7ee577edf78a3f79319469eafbecd418917c6b2da29be4b000438481b3e4692dca13902516f0486d260832813404e6920c1e8234c6c65ba7fad8eb88093343c8
+DIST lzlib-1.8.tar.gz 96324 SHA256 41bfa82c6ee184ed0884437dc4074ad505e64cb747432cefa97976b89045cbad SHA512 4fe8e28068f67d377bcfb0b7335650acd03565f9c8ac247c87a2b4951b82bae5e8b82d8a537bae84ed13ee09555e7ffbf573a2b3738d9bc86771897981cd549b WHIRLPOOL 31b89aac035f3db09c9a9ae2d3a7d81fb7ff1456305713af6cd41098b845f0321d11730f6763437f8fd4d48f47ea65f4bf8e34a14ec63ca8459d37b7ec987ba5
diff --git a/app-arch/lzlib/lzlib-1.8.ebuild b/app-arch/lzlib/lzlib-1.8.ebuild
new file mode 100644
index 000000000000..60d875149537
--- /dev/null
+++ b/app-arch/lzlib/lzlib-1.8.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+inherit multilib toolchain-funcs
+
+DESCRIPTION="Library for lzip compression"
+HOMEPAGE="http://www.nongnu.org/lzip/lzlib.html"
+SRC_URI="http://download.savannah.gnu.org/releases-noredirect/lzip/${PN}/${P}.tar.gz"
+
+LICENSE="libstdc++" # fancy form of GPL-2+ with library exception
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+src_configure() {
+ local myconf=(
+ --enable-shared
+ --disable-static
+ --prefix="${EPREFIX}"/usr
+ --libdir="${EPREFIX}"/usr/$(get_libdir)
+ CC="$(tc-getCC)"
+ CPPFLAGS="${CPPFLAGS}"
+ CFLAGS="${CXXFLAGS}"
+ LDFLAGS="${LDFLAGS}"
+ )
+
+ # not autotools-based
+ ./configure "${myconf[@]}" || die
+}
+
+src_install() {
+ emake DESTDIR="${D}" LDCONFIG=: install
+ einstalldocs
+}