summaryrefslogtreecommitdiff
path: root/games-rpg/planeshift
diff options
context:
space:
mode:
authorsss <sss@4d9a9b59-111c-4e0b-8f7a-7640551abb98>2009-04-22 21:47:40 +0000
committersss <sss@4d9a9b59-111c-4e0b-8f7a-7640551abb98>2009-04-22 21:47:40 +0000
commite07501c829dd81685b5d3368926d932e12032675 (patch)
tree230dd9b06c98f33bcace3f9f11adedd62c8a5333 /games-rpg/planeshift
parentf08bd5fad168048ba576d34b58e7f7d583616f76 (diff)
git-svn-id: http://172.18.13.13/svn/sss_overlay@12 4d9a9b59-111c-4e0b-8f7a-7640551abb98
Diffstat (limited to 'games-rpg/planeshift')
-rw-r--r--games-rpg/planeshift/planeshift-9999.ebuild54
1 files changed, 54 insertions, 0 deletions
diff --git a/games-rpg/planeshift/planeshift-9999.ebuild b/games-rpg/planeshift/planeshift-9999.ebuild
new file mode 100644
index 0000000..d51282e
--- /dev/null
+++ b/games-rpg/planeshift/planeshift-9999.ebuild
@@ -0,0 +1,54 @@
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="1"
+
+inherit eutils autotools subversion
+
+DESCRIPTION="A 3D Fantasy MMORPG"
+HOMEPAGE="http://planeshift.it"
+SRC_URI=""
+RESTRICT="mirror"
+
+IUSE="mysql"
+SLOT=""
+LICENSE="GPL-2"
+KEYWORDS="~x86 ~amd64"
+
+ESVN_REPO_URI="https://planeshift.svn.sourceforge.net/svnroot/planeshift/stable"
+ESVN_STORE_DIR="${DISTDIR}/svn-src"
+ESVN_PROJECT="${PN/-svn}"
+ESVN_BOOTSTRAP="./autogen.sh"
+
+RDEPEND="${DEPEND}
+"
+DEPEND="${COMMON_DEPEND}
+ sys-devel/autoconf
+ sys-devel/automake
+ dev-util/ftjam
+ dev-games/crystalspace
+ mysql? ( virtual/mysql )
+"
+
+S="${WORKDIR}/${P/_/}"
+
+src_unpack(){
+ subversion_src_unpack
+ cd "${S}"
+# eautoreconf
+}
+
+src_compile() {
+ econf \
+ $(useq mysql && echo --with-mysql ) \
+ --enable-cpu-specific-optimizations=maximum \
+ || die "econf failed"
+ jam -q CONFDIR="/etc/netxms" || die "emake failed"
+}
+
+src_install() {
+ jam -q -s DESTDIR="${D}" ${installTarget} || die "jam ${installTarget} failed"
+}
+
+#pkg_postinst() {
+#}
+