summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-libs/libpano13/libpano13-2.9.14_rc1.ebuild')
-rw-r--r--media-libs/libpano13/libpano13-2.9.14_rc1.ebuild32
1 files changed, 32 insertions, 0 deletions
diff --git a/media-libs/libpano13/libpano13-2.9.14_rc1.ebuild b/media-libs/libpano13/libpano13-2.9.14_rc1.ebuild
new file mode 100644
index 000000000000..5104f0f90249
--- /dev/null
+++ b/media-libs/libpano13/libpano13-2.9.14_rc1.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libpano13/libpano13-2.9.14_rc1.ebuild,v 1.1 2009/05/03 10:01:53 maekke Exp $
+
+inherit eutils versionator java-pkg-opt-2
+
+DESCRIPTION="Helmut Dersch's panorama toolbox library"
+HOMEPAGE="http://panotools.sf.net"
+SRC_URI="mirror://sourceforge/panotools/${P}.tar.gz"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="java"
+DEPEND="
+ media-libs/jpeg
+ media-libs/libpng
+ media-libs/tiff
+ sys-libs/zlib
+ java? ( virtual/jdk )"
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}/${PN}-$(get_version_component_range 1-3)"
+
+src_compile() {
+ econf $(use_with java java ${JAVA_HOME})
+ emake || die "Build failed"
+}
+
+src_install() {
+ make DESTDIR="${D}" install || die "Install failed"
+ dodoc README README.linux AUTHORS NEWS doc/*.txt
+}