summaryrefslogtreecommitdiff
blob: 3fd41f6a7451df7870ed3d798106a5cbc035a742 (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
30
31
32
33
34
35
36
37
38
39
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

inherit eutils

DESCRIPTION="Library that implements digital image warping, known as morphing, along with GUIs."
HOMEPAGE="http://xmorph.sourceforge.net/"
SRC_URI="http://ftp.de.debian.org/debian/pool/main/x/xmorph/xmorph_20090926.tar.gz"
RESTRICT="nomirror"
KEYWORDS="amd64 x86"
LICENSE="GPL-2"
SLOT="0"
IUSE="gtk nls fftw"
# Options I'm ignoring:
# --with-waili --with-xmorph --with-tkmorph

#		--disable-gtktest \
#		--without-gtkmorph	\ 

RDEPEND="nls? ( virtual/libintl )
		 gtk? ( x11-libs/gtk+ )"

DEPEND="nls? ( sys-devel/gettext )
		gtk? ( x11-libs/gtk+ )
		fftw? ( >=sci-libs/fftw-3 )"
src_compile() {
	econf \
		$(use_enable nls) \
		$(use_with gtk gtkmorph) \
		$(use_with fftw) \
		  || die "configure failed"
	
	emake || die "make failed"
}

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