diff options
author | Michał Górny <mgorny@gentoo.org> | 2017-06-30 12:52:00 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2017-06-30 13:19:09 +0200 |
commit | c1485266139691fa750135d45c37937d1129b446 (patch) | |
tree | 2f566806de558555fa6b65563dd6acb8e52651ce | |
parent | dev-ruby/execjs: keyword ~arm64 (diff) | |
download | gentoo-c1485266139691fa750135d45c37937d1129b446.tar.gz gentoo-c1485266139691fa750135d45c37937d1129b446.tar.bz2 gentoo-c1485266139691fa750135d45c37937d1129b446.zip |
app-arch/lzlib: Bump to 1.9, improve ebuild
-rw-r--r-- | app-arch/lzlib/Manifest | 1 | ||||
-rw-r--r-- | app-arch/lzlib/lzlib-1.9.ebuild | 32 |
2 files changed, 33 insertions, 0 deletions
diff --git a/app-arch/lzlib/Manifest b/app-arch/lzlib/Manifest index 159899a780f5..5e2da51438bb 100644 --- a/app-arch/lzlib/Manifest +++ b/app-arch/lzlib/Manifest @@ -1,3 +1,4 @@ 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 +DIST lzlib-1.9.tar.gz 96147 SHA256 2472f8d93830d0952b0c75f67e372d38c8f7c174dde2252369d5b20c87d3ba8e SHA512 2d36e0b27f544fdab958dbf7d966b41e44c134382ec9f792d94dacf60355eadc25a1cf2b8b7049287995fa5bfc27aec0f3e4253304e3b10813c96b0609408278 WHIRLPOOL 3da26a40c4c9bbe932c28615b257b4b99e835975cfc7e6c25e6864e3eb9511353273427a6ac6990aabd51abb15c534200072d45f9ee944f751a0db6ba151bf57 diff --git a/app-arch/lzlib/lzlib-1.9.ebuild b/app-arch/lzlib/lzlib-1.9.ebuild new file mode 100644 index 000000000000..72bec4c5725b --- /dev/null +++ b/app-arch/lzlib/lzlib-1.9.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit toolchain-funcs + +DESCRIPTION="Library for lzip compression" +HOMEPAGE="http://www.nongnu.org/lzip/lzlib.html" +SRC_URI="http://download.savannah.gnu.org/releases/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 + --disable-ldconfig + --prefix="${EPREFIX}"/usr + --libdir='$(prefix)'/$(get_libdir) + CC="$(tc-getCC)" + CFLAGS="${CFLAGS}" + CPPFLAGS="${CPPFLAGS}" + LDFLAGS="${LDFLAGS}" + ) + + # not autotools-based + ./configure "${myconf[@]}" || die +} |