summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2003-07-22 04:17:19 +0000
committerMike Frysinger <vapier@gentoo.org>2003-07-22 04:17:19 +0000
commitaea77143948371b21250efad96b27d10fb515171 (patch)
treead58bc0c28397b23728f73a93a6011c4fc912972 /dev-games/ogre
parentinitial ebuild (diff)
downloadhistorical-aea77143948371b21250efad96b27d10fb515171.tar.gz
historical-aea77143948371b21250efad96b27d10fb515171.tar.bz2
historical-aea77143948371b21250efad96b27d10fb515171.zip
initial ebuild
Diffstat (limited to 'dev-games/ogre')
-rw-r--r--dev-games/ogre/ChangeLog8
-rw-r--r--dev-games/ogre/files/digest-ogre-0.11.01
-rw-r--r--dev-games/ogre/ogre-0.11.0.ebuild50
3 files changed, 59 insertions, 0 deletions
diff --git a/dev-games/ogre/ChangeLog b/dev-games/ogre/ChangeLog
new file mode 100644
index 000000000000..a6cf80aa2d84
--- /dev/null
+++ b/dev-games/ogre/ChangeLog
@@ -0,0 +1,8 @@
+# ChangeLog for dev-games/ogre
+# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-games/ogre/ChangeLog,v 1.1 2003/07/22 04:17:19 vapier Exp $
+
+*ogre-0.11.0 (22 Jul 2003)
+
+ 22 Jul 2003; Mike Frysinger <vapier@gentoo.org> :
+ Initial import. Ebuild submitted by me.
diff --git a/dev-games/ogre/files/digest-ogre-0.11.0 b/dev-games/ogre/files/digest-ogre-0.11.0
new file mode 100644
index 000000000000..417188fb9b1d
--- /dev/null
+++ b/dev-games/ogre/files/digest-ogre-0.11.0
@@ -0,0 +1 @@
+MD5 abf540741f22ac60803efb34dccca8d5 ogre-v0.11.0.tar.bz2 10007959
diff --git a/dev-games/ogre/ogre-0.11.0.ebuild b/dev-games/ogre/ogre-0.11.0.ebuild
new file mode 100644
index 000000000000..01e5c20e3271
--- /dev/null
+++ b/dev-games/ogre/ogre-0.11.0.ebuild
@@ -0,0 +1,50 @@
+# 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.11.0.ebuild,v 1.1 2003/07/22 04:17:19 vapier Exp $
+
+DESCRIPTION="Object-oriented Graphics Rendering Engine"
+HOMEPAGE="http://ogre.sourceforge.net/"
+SRC_URI="mirror://sourceforge/ogre/ogre-v${PV}.tar.bz2"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="x86"
+IUSE="doc gtk2"
+
+DEPEND="dev-libs/STLport
+ media-libs/libsdl
+ virtual/opengl
+ =media-libs/freetype-2*
+ media-libs/devil
+ sys-libs/zlib
+ gtk2? (
+ =dev-cpp/libglademm-2*
+ =dev-cpp/gtkmm-2*
+ )"
+
+S=${WORKDIR}/ogrenew
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ sed -i 's:noinst_HEADERS:pkginclude_HEADERS:' `find PlugIns/ -name 'Makefile.am'` || die "installing plugin headers"
+ sed -i "s:ogre\.cfg:/etc/ogre.cfg:" OgreMain/src/OgreRoot.cpp || die "setting ogre.cfg loc"
+}
+
+src_compile() {
+ local mycfgtk
+ [ `use gtk2` ] \
+ && mycfgtk=gtk \
+ || mycfgtk=cli
+ econf --with-cfgtk=${mycfgtk} || die
+ emake || die
+}
+
+src_install() {
+ make install DESTDIR=${D} || die
+ [ `use doc` ] && dohtml -r Docs/Docs/* Docs/Tutorials/*
+ insinto /usr/share/OGRE/Media
+ doins Samples/Media/*
+ dodoc AUTHORS BUGS LINUX.DEV README Docs/README.linux
+ dohtml Docs/*.html
+}