diff options
author | 2005-01-13 07:53:38 +0000 | |
---|---|---|
committer | 2005-01-13 07:53:38 +0000 | |
commit | 0800cfcec0648a868454add58489c2e0fa703602 (patch) | |
tree | 8077bc285f648f44e0625ee00f91adfb16c4bc4c /media-gfx/k3d/k3d-0.4.4.0.ebuild | |
parent | Fixing kbuild stuff not getting installed with 2.6 headers. (diff) | |
download | historical-0800cfcec0648a868454add58489c2e0fa703602.tar.gz historical-0800cfcec0648a868454add58489c2e0fa703602.tar.bz2 historical-0800cfcec0648a868454add58489c2e0fa703602.zip |
New version
Diffstat (limited to 'media-gfx/k3d/k3d-0.4.4.0.ebuild')
-rw-r--r-- | media-gfx/k3d/k3d-0.4.4.0.ebuild | 72 |
1 files changed, 72 insertions, 0 deletions
diff --git a/media-gfx/k3d/k3d-0.4.4.0.ebuild b/media-gfx/k3d/k3d-0.4.4.0.ebuild new file mode 100644 index 000000000000..49815715b561 --- /dev/null +++ b/media-gfx/k3d/k3d-0.4.4.0.ebuild @@ -0,0 +1,72 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-gfx/k3d/k3d-0.4.4.0.ebuild,v 1.1 2005/01/13 07:53:37 lu_zero Exp $ + +inherit eutils + +IUSE="truetype doc python ruby" + +DESCRIPTION="K-3D is a free 3D modeling, animation, and rendering system." +HOMEPAGE="http://k3d.sourceforge.net" +SRC_URI="mirror://sourceforge/k3d/${P}.tbz2" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="~x86" + +DEPEND="virtual/x11 + virtual/opengl + virtual/glu + >=dev-libs/glib-2.2.1 + =x11-libs/gtk+-1.2* + =dev-libs/libsigc++-1.0* + >=media-libs/netpbm-10 + media-libs/plib + truetype? ( >=media-libs/freetype-2 ) + doc? ( app-text/xmlto ) + python? ( >=dev-lang/python-2.3 ) + ruby? ( virtual/ruby )" + +src_unpack() +{ + unpack ${A} + cd ${S} + use ppc && epatch ${FILESDIR}/va_copy.patch + libtoolize --force --automake + aclocal + automake --add-missing + autoconf +} + +src_compile() +{ + local myconf="--with-plib --without-graphviz" + + use truetype \ + && myconf="${myconf} --with-freetype" \ + || myconf="${myconf} --without-freetype" + + use doc \ + && myconf="${myconf} --with-docbook" \ + || myconf="${myconf} --without-docbook" + + use python \ + && myconf="${myconf} --with-python" \ + || myconf="${myconf} --without-python" + + use ruby \ + && myconf="${myconf} --with-ruby=`ruby -rrbconfig -e 'puts Config::CONFIG["archdir"]'`" \ + || myconf="${myconf} --without-ruby" + + + econf "CXXFLAGS=${CXXFLAGS}" || die + emake || die + +} + +src_install() +{ + einstall || die + dodoc AUTHORS INSTALL NEWS README TODO +} + |