summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNathan Phillip Brink <binki@gentoo.org>2015-08-19 04:19:20 +0000
committerNathan Phillip Brink <binki@gentoo.org>2015-08-19 04:19:20 +0000
commit03458891b2d75769e9970553f707b7507e3c199d (patch)
treee3b4ac07890444dcae338cd3ea55d3b2e84bc411 /dev-libs/lzo
parentsys-libs/efivar: Drop proxy maintainer (diff)
downloadgentoo-03458891b2d75769e9970553f707b7507e3c199d.tar.gz
gentoo-03458891b2d75769e9970553f707b7507e3c199d.tar.bz2
gentoo-03458891b2d75769e9970553f707b7507e3c199d.zip
dev-libs/lzo: Bump to lzo-2.09 for bug #557848.
Package-Manager: portage-2.2.20
Diffstat (limited to 'dev-libs/lzo')
-rw-r--r--dev-libs/lzo/Manifest1
-rw-r--r--dev-libs/lzo/lzo-2.09.ebuild48
2 files changed, 49 insertions, 0 deletions
diff --git a/dev-libs/lzo/Manifest b/dev-libs/lzo/Manifest
index 72cf912fe973..c2233e7ceaad 100644
--- a/dev-libs/lzo/Manifest
+++ b/dev-libs/lzo/Manifest
@@ -1 +1,2 @@
DIST lzo-2.08.tar.gz 589045 SHA256 ac1b3e4dee46febe9fd28737eb7f5692d3232ef1a01da10444394c3d47536614 SHA512 d03ae521000d69dd1fc92112a7b6e642c388b2898d7fb6ac4168e947a895e8d5e77199f78f05e036cefe02f346ea242bca694522f3c7959ab6ca19de956162dd WHIRLPOOL bea0357b01cb64018a5afc7b0934065dda944866aa23f44edd4eb615d53c0242b70c836d2d8144ed64df4a438bea5c1b8b5120ee4a7f08af15db171f85c11ac8
+DIST lzo-2.09.tar.gz 594855 SHA256 f294a7ced313063c057c504257f437c8335c41bfeed23531ee4e6a2b87bcb34c SHA512 7c64e5e7d2050d75ac8c59d613f6f7230b74746b1d207666755b07450053c8b73980f12f8a1ec59d2af0bada02beec126aaacb675b8088b5fe65e97ff7e6bfc7 WHIRLPOOL 5c5aaa79ddc4202b784ec29e6607d450a3824564ac3364a1219cd971be32bc58fc583ab5ffcbd52a8ddf975518059eab9bd1b897c052081e19dc0a43a96fee45
diff --git a/dev-libs/lzo/lzo-2.09.ebuild b/dev-libs/lzo/lzo-2.09.ebuild
new file mode 100644
index 000000000000..616c15716c88
--- /dev/null
+++ b/dev-libs/lzo/lzo-2.09.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit eutils multilib-minimal toolchain-funcs
+
+DESCRIPTION="An extremely fast compression and decompression library"
+HOMEPAGE="http://www.oberhumer.com/opensource/lzo/"
+SRC_URI="http://www.oberhumer.com/opensource/lzo/download/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="2"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x86-interix ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+IUSE="examples static-libs"
+
+RDEPEND="abi_x86_32? (
+ !<=app-emulation/emul-linux-x86-baselibs-20131008-r19
+ !app-emulation/emul-linux-x86-baselibs[-abi_x86_32]
+ )"
+
+DOCS="BUGS ChangeLog README THANKS doc/*"
+
+multilib_src_configure() {
+ ECONF_SOURCE=${S} \
+ econf \
+ --docdir="${EPREFIX}"/usr/share/doc/${PF} \
+ --enable-shared \
+ $(use_enable static-libs static)
+}
+
+multilib_src_install() {
+ emake DESTDIR="${D}" install
+ multilib_is_native_abi && gen_usr_ldscript -a lzo2
+}
+
+multilib_src_install_all() {
+ einstalldocs
+ rm -f "${ED}"/usr/share/doc/${PF}/COPYING
+
+ if use examples; then
+ docinto examples
+ dodoc examples/*.{c,h}
+ fi
+
+ prune_libtool_files
+}