diff options
author | Michał Górny <mgorny@gentoo.org> | 2016-06-01 18:44:45 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2016-06-01 18:47:05 +0200 |
commit | ad3c176b10e0222997352070f0c7e1f9eeaf27e0 (patch) | |
tree | 0e84b73f033ba1a2ef56f33ee67d70eea5249263 /app-arch/lzlib/lzlib-1.8.ebuild | |
parent | net-firewall/firewalld: remove old versions 0.3.14.2, and 0.4.0 (diff) | |
download | gentoo-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/lzlib-1.8.ebuild')
-rw-r--r-- | app-arch/lzlib/lzlib-1.8.ebuild | 37 |
1 files changed, 37 insertions, 0 deletions
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 +} |