diff options
author | Mike Frysinger <vapier@gentoo.org> | 2004-01-20 04:23:55 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2004-01-20 04:23:55 +0000 |
commit | 953106291698e18aceea0974a6dfa53e1f378259 (patch) | |
tree | fc21df16fddda6dffc5197249a0db588e41eb677 /dev-games/ogre/ogre-0.12.3.ebuild | |
parent | bumped to 2.4.25_pre6 (diff) | |
download | historical-953106291698e18aceea0974a6dfa53e1f378259.tar.gz historical-953106291698e18aceea0974a6dfa53e1f378259.tar.bz2 historical-953106291698e18aceea0974a6dfa53e1f378259.zip |
ver bump
Diffstat (limited to 'dev-games/ogre/ogre-0.12.3.ebuild')
-rw-r--r-- | dev-games/ogre/ogre-0.12.3.ebuild | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/dev-games/ogre/ogre-0.12.3.ebuild b/dev-games/ogre/ogre-0.12.3.ebuild new file mode 100644 index 000000000000..089afa5d8909 --- /dev/null +++ b/dev-games/ogre/ogre-0.12.3.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-games/ogre/ogre-0.12.3.ebuild,v 1.1 2004/01/20 04:23:55 vapier Exp $ + +S=${WORKDIR}/ogrenew +DESCRIPTION="Object-oriented Graphics Rendering Engine" +HOMEPAGE="http://www.ogre3d.org/" +SRC_URI="mirror://sourceforge/ogre/${PN}-v${PV//./-}.tar.bz2" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="x86" +IUSE="doc gtk" + +RDEPEND="virtual/opengl + media-libs/libsdl + =media-libs/freetype-2* + media-libs/devil + gtk? ( + =dev-cpp/libglademm-2* + =dev-cpp/gtkmm-2* + ) + sys-libs/zlib" +DEPEND="${RDEPEND} + >=sys-apps/sed-4 + || ( dev-libs/STLport >=sys-devel/gcc-3.0 )" + +src_compile() { + local myconf="cli" + + [ `use gtk` ] && myconf="gtk" + + econf --with-cfgtk=${myconf} || die + emake || die "emake failed" +} + +src_install() { + make DESTDIR=${D} install || die "make install failed" + if [ `use doc` ] ; then + dohtml -r Docs/* Docs/Tutorials/* || die "dohtml failed (doc)" + fi + insinto /usr/share/OGRE/Media + doins Samples/Media/* || die "doins failed" + dodoc AUTHORS BUGS LINUX.DEV README Docs/README.linux || die "dodoc failed" + dohtml Docs/*.html || die "dohtml failed" +} |