summaryrefslogtreecommitdiff
blob: a0779b328c023ea85e1fc5079fab32c5e411f8cf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-libs/panotools/panotools-2.7.0.8.ebuild,v 1.2 2005/01/23 02:33:14 mr_bones_ Exp $

inherit eutils

DESCRIPTION="Helmut Dersch's panorama toolbox library"
HOMEPAGE="http://panotools.sf.net"
SRC_URI="mirror://sourceforge/panotools/libpano12-${PV}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86 ~ppc"
IUSE=""
DEPEND="media-libs/libpng
		media-libs/tiff
		media-libs/jpeg
		sys-libs/zlib
		virtual/jdk"

S="${WORKDIR}/libpano12-${PV}"

src_compile() {
	econf "--with-java=${JAVA_HOME}"
	emake
}

src_install() {
	make DESTDIR=${D} install || die
}