diff options
author | Tim Harder <radhermit@gentoo.org> | 2011-05-04 22:55:58 +0000 |
---|---|---|
committer | Tim Harder <radhermit@gentoo.org> | 2011-05-04 22:55:58 +0000 |
commit | d9ecbabc90a2e201a4ceb0efeac70c72363e7fef (patch) | |
tree | 154c643bdf50e44597668b54279de3b8414dcfaf /media-libs/libpano13/libpano13-2.9.18.ebuild | |
parent | Take over squirrel which used to be proxy maintained for me. (diff) | |
download | historical-d9ecbabc90a2e201a4ceb0efeac70c72363e7fef.tar.gz historical-d9ecbabc90a2e201a4ceb0efeac70c72363e7fef.tar.bz2 historical-d9ecbabc90a2e201a4ceb0efeac70c72363e7fef.zip |
version bump
Package-Manager: portage-2.2.0_alpha30/cvs/Linux x86_64
Diffstat (limited to 'media-libs/libpano13/libpano13-2.9.18.ebuild')
-rw-r--r-- | media-libs/libpano13/libpano13-2.9.18.ebuild | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/media-libs/libpano13/libpano13-2.9.18.ebuild b/media-libs/libpano13/libpano13-2.9.18.ebuild new file mode 100644 index 000000000000..1b433c8f0ad4 --- /dev/null +++ b/media-libs/libpano13/libpano13-2.9.18.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-libs/libpano13/libpano13-2.9.18.ebuild,v 1.1 2011/05/04 22:55:58 radhermit Exp $ + +EAPI="4" + +inherit versionator java-pkg-opt-2 + +DESCRIPTION="Helmut Dersch's panorama toolbox library" +HOMEPAGE="http://panotools.sourceforge.net/" +SRC_URI="mirror://sourceforge/panotools/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos" +IUSE="java static-libs" + +DEPEND="media-libs/libpng + media-libs/tiff + sys-libs/zlib + virtual/jpeg + java? ( >=virtual/jdk-1.3 )" +RDEPEND="${DEPEND}" + +S="${WORKDIR}/${PN}-$(get_version_component_range 1-3)" + +src_configure() { + econf \ + $(use_with java java ${JAVA_HOME}) \ + $(use_enable static-libs static) +} + +src_install() { + emake DESTDIR="${D}" install + dodoc README README.linux AUTHORS NEWS doc/*.txt + + if ! use static-libs ; then + find "${D}" -name '*.la' -delete || die + fi +} + +pkg_postinst() { + ewarn "you should remerge all reverse dependencies (media-gfx/hugin and" + ewarn "media-gfx/autopano-sift-C) as they might not work anymore" +} |