# Copyright 1999-2002 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 # $Header: $ DESCRIPTION="Giram (Giram is really a modeller). A 3d modeller for POV-ray" HOMEPAGE="http://www.giram.org" SRC_URI="http://www.giram.org/downloads/${P}.tar.gz" # License of the package. This must match the name of file(s) in # /usr/portage/licenses/. For complex license combination see the developer # docs on gentoo.org for details. LICENSE="GPL-2" SLOT="0" KEYWORDS="x86" RDEPEND=">=x11-libs/gtk+-2.0.0 >=dev-libs/glib-2.0.0 media-gfx/povray " DEPEND="${RDEPEND} >=dev-util/pkgconfig-0.12.0 " S=${WORKDIR}/${P} src_compile() { local myConf use bishop3d && myConf="--enable-bishop-s3d" use vik && myConf="${myConf} --enable-vik-specials" ./configure \ --host=${CHOST} \ --prefix=/usr \ --libexecdir /usr/lib \ --infodir=/usr/share/info \ --mandir=/usr/share/man || die "./configure failed" make || die } src_install () { make DESTDIR=${D} install || die }