diff options
author | Sebastien Fabbro <bicatali@gentoo.org> | 2012-08-03 19:42:46 +0000 |
---|---|---|
committer | Sebastien Fabbro <bicatali@gentoo.org> | 2012-08-03 19:42:46 +0000 |
commit | 73dee5a1d058652ff335fb7fe192f3352344b789 (patch) | |
tree | f34c378f38ff8cde61af0ddb05c4c35d4daaa126 /sci-libs/libecwj2/libecwj2-3.3-r1.ebuild | |
parent | Keyword amd64-linux x86-linux (diff) | |
download | gentoo-2-73dee5a1d058652ff335fb7fe192f3352344b789.tar.gz gentoo-2-73dee5a1d058652ff335fb7fe192f3352344b789.tar.bz2 gentoo-2-73dee5a1d058652ff335fb7fe192f3352344b789.zip |
Added static-libs, keyword amd64-linux x86-linux
(Portage version: 2.2.01.20796-prefix/cvs/Linux x86_64)
Diffstat (limited to 'sci-libs/libecwj2/libecwj2-3.3-r1.ebuild')
-rw-r--r-- | sci-libs/libecwj2/libecwj2-3.3-r1.ebuild | 25 |
1 files changed, 13 insertions, 12 deletions
diff --git a/sci-libs/libecwj2/libecwj2-3.3-r1.ebuild b/sci-libs/libecwj2/libecwj2-3.3-r1.ebuild index 5dc3d98f86fe..589c201f2a91 100644 --- a/sci-libs/libecwj2/libecwj2-3.3-r1.ebuild +++ b/sci-libs/libecwj2/libecwj2-3.3-r1.ebuild @@ -1,8 +1,8 @@ -# Copyright 1999-2010 Gentoo Foundation +# Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sci-libs/libecwj2/libecwj2-3.3-r1.ebuild,v 1.5 2010/07/17 13:46:52 xarthisius Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-libs/libecwj2/libecwj2-3.3-r1.ebuild,v 1.6 2012/08/03 19:42:46 bicatali Exp $ -EAPI=2 +EAPI=4 inherit eutils autotools DESCRIPTION="Library for both the ECW and the ISO JPEG 2000 image file formats" @@ -11,8 +11,8 @@ HOMEPAGE="http://www.ermapper.com/ProductView.aspx?t=28" LICENSE="ECWPL" SLOT="0" -KEYWORDS="amd64 x86" -IUSE="doc examples" +KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux" +IUSE="doc examples static-libs" RDEPEND="=media-libs/lcms-1*" DEPEND="${RDEPEND} @@ -27,15 +27,16 @@ src_prepare() { eautoreconf } +src_configure() { + econf $(use_enable static-libs static) +} + src_install() { dodir /usr/include - emake DESTDIR="${D}" install || die "emake install failed" - - insinto /usr/share/doc/${PF}/ - if use doc; then - dodoc SDK.pdf || die - fi + default + use doc && dodoc SDK.pdf if use examples; then - doins -r examples || die + insinto /usr/share/doc/${PF} + doins -r examples fi } |