diff options
author | Michał Górny <mgorny@gentoo.org> | 2017-04-16 10:00:51 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2017-04-16 10:02:02 +0200 |
commit | af46dcddd9c936dce1ec3493bdbd26e5599b76e4 (patch) | |
tree | f25d1f9b10700f3e47089a7a098e25555e483381 /dev-libs/lzo | |
parent | dev-perl/App-Nopaste: Bump to version 1.9.0 (diff) | |
download | gentoo-af46dcddd9c936dce1ec3493bdbd26e5599b76e4.tar.gz gentoo-af46dcddd9c936dce1ec3493bdbd26e5599b76e4.tar.bz2 gentoo-af46dcddd9c936dce1ec3493bdbd26e5599b76e4.zip |
dev-libs/lzo: Bump to 2.10, simplify
Diffstat (limited to 'dev-libs/lzo')
-rw-r--r-- | dev-libs/lzo/Manifest | 1 | ||||
-rw-r--r-- | dev-libs/lzo/lzo-2.10.ebuild | 38 |
2 files changed, 39 insertions, 0 deletions
diff --git a/dev-libs/lzo/Manifest b/dev-libs/lzo/Manifest index c2233e7ceaad..4692f9a38052 100644 --- a/dev-libs/lzo/Manifest +++ b/dev-libs/lzo/Manifest @@ -1,2 +1,3 @@ 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 +DIST lzo-2.10.tar.gz 600622 SHA256 c0f892943208266f9b6543b3ae308fab6284c5c90e627931446fb49b4221a072 SHA512 a3dae5e4a6b93b1f5bf7435e8ab114a9be57252e9efc5dd444947d7a2d031b0819f34bcaeb35f60b5629a01b1238d738735a64db8f672be9690d3c80094511a4 WHIRLPOOL 58ebddd8c8755f7a3808d4c996356e4c45d341ee0600f7a28963bd71cad9e3efcb77f50fb5514d1663e530b38e007f42fe57143252f407756ad2d710e8623654 diff --git a/dev-libs/lzo/lzo-2.10.ebuild b/dev-libs/lzo/lzo-2.10.ebuild new file mode 100644 index 000000000000..a8dd8d64aef4 --- /dev/null +++ b/dev-libs/lzo/lzo-2.10.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit 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 ~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" + +multilib_src_configure() { + ECONF_SOURCE=${S} \ + econf \ + --enable-shared \ + $(use_enable static-libs static) +} + +multilib_src_install() { + emake DESTDIR="${D}" install + gen_usr_ldscript -a lzo2 +} + +multilib_src_install_all() { + rm "${ED}"/usr/share/doc/${PF}/COPYING || die + + if use examples; then + docinto examples + dodoc examples/*.{c,h} + fi + + find "${ED}" -name '*.la' -delete || die +} |