Skip to content

Commit

Permalink
dev-libs/lzo: Bump to lzo-2.09 for bug #557848.
Browse files Browse the repository at this point in the history
Package-Manager: portage-2.2.20
  • Loading branch information
binki committed Aug 19, 2015
1 parent a4fea4b commit 0345889
Show file tree
Hide file tree
Showing 2 changed files with 49 additions and 0 deletions.
1 change: 1 addition & 0 deletions dev-libs/lzo/Manifest
Original file line number Diff line number Diff line change
@@ -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
48 changes: 48 additions & 0 deletions dev-libs/lzo/lzo-2.09.ebuild
Original file line number Diff line number Diff line change
@@ -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
}

0 comments on commit 0345889

Please sign in to comment.