summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsss <sss@4d9a9b59-111c-4e0b-8f7a-7640551abb98>2009-04-22 22:04:05 +0000
committersss <sss@4d9a9b59-111c-4e0b-8f7a-7640551abb98>2009-04-22 22:04:05 +0000
commit87636d4ace07bd334aeec11cfb737e3eecae772b (patch)
tree67577fe7eeafc4559ca5917d3c47c369fa56944a
parente07501c829dd81685b5d3368926d932e12032675 (diff)
git-svn-id: http://172.18.13.13/svn/sss_overlay@13 4d9a9b59-111c-4e0b-8f7a-7640551abb98
-rw-r--r--games-rpg/planeshift/planeshift-9999.ebuild17
1 files changed, 13 insertions, 4 deletions
diff --git a/games-rpg/planeshift/planeshift-9999.ebuild b/games-rpg/planeshift/planeshift-9999.ebuild
index d51282e..d8186be 100644
--- a/games-rpg/planeshift/planeshift-9999.ebuild
+++ b/games-rpg/planeshift/planeshift-9999.ebuild
@@ -2,7 +2,7 @@
EAPI="1"
-inherit eutils autotools subversion
+inherit eutils autotools subversion games
DESCRIPTION="A 3D Fantasy MMORPG"
HOMEPAGE="http://planeshift.it"
@@ -31,6 +31,10 @@ DEPEND="${COMMON_DEPEND}
S="${WORKDIR}/${P/_/}"
+pkg_setup() {
+ games_pkg_setup
+}
+
src_unpack(){
subversion_src_unpack
cd "${S}"
@@ -39,14 +43,19 @@ src_unpack(){
src_compile() {
econf \
- $(useq mysql && echo --with-mysql ) \
--enable-cpu-specific-optimizations=maximum \
|| die "econf failed"
- jam -q CONFDIR="/etc/netxms" || die "emake failed"
+ jam -q || die "emake failed"
}
src_install() {
- jam -q -s DESTDIR="${D}" ${installTarget} || die "jam ${installTarget} failed"
+ for installTarget in install_bin install_plugin install_lib \
+ install_include install_data install_config
+ do
+ jam -q -s DESTDIR="${D}" ${installTarget} \
+ || die "jam ${installTarget} failed"
+ done
+ prepgamesdirs
}
#pkg_postinst() {