summaryrefslogtreecommitdiff
blob: 8dd672aaf4c8611753d2dca5a3e476401e3ab731 (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-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/x11-libs/nucleo/nucleo-0.1_p20041130.ebuild,v 1.2 2004/12/03 10:58:25 usata Exp $

inherit eutils

IUSE=""

DESCRIPTION="Nucleo is some library for metisse"
SRC_URI="http://insitu.lri.fr/~chapuis/software/metisse/${P/_p/-}.tar.bz2"
HOMEPAGE="http://insitu.lri.fr/~chapuis/metisse"

DEPEND="virtual/x11
	virtual/opengl
	media-libs/freetype
	media-libs/libpng
	media-libs/jpeg"

SLOT="0"
LICENSE="LGPL-2.1"
KEYWORDS="~x86 ~ppc"

S="${WORKDIR}/${P/_p*/}"

src_unpack() {
	unpack ${A}
	cd ${S}/nucleo/gl/texture
	epatch ${FILESDIR}/${P/_p*/}-nv.patch
}

src_compile() {
	econf || die "configure failed"
	emake || die "make failed"
}

src_install() {
	make DESTDIR=${D} install || die "make install failed"
	dodoc README ChangeLog AUTHORS NEWS
}