summaryrefslogtreecommitdiff
blob: 1b8d2c19e6c54a5faeb3f60098b2e3c2d3789adb (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
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-libs/vigra/vigra-1.2.0.ebuild,v 1.2 2004/06/24 23:25:22 agriffis Exp $
DESCRIPTION="Vision with Generic Algorithms"

HOMEPAGE="http://kogs-www.informatik.uni-hamburg.de/~koethe/vigra"

SRC_URI="http://kogs-www.informatik.uni-hamburg.de/~koethe/vigra/${P/-}.tar.gz"

LICENSE="VIGRA"

SLOT="0"

KEYWORDS="~x86 ~ppc"

IUSE=""

DEPEND="sys-devel/gcc
		media-libs/libpng
		media-libs/tiff
		media-libs/jpeg
		sys-libs/zlib
		dev-libs/fftw"

S=${WORKDIR}/${P/-}

src_compile() {

	./configure \
		--host=${CHOST} \
		--prefix=/usr || die "./configure failed"
	emake || die
}

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