diff options
Diffstat (limited to 'games-rpg/planeshift/planeshift-9999.ebuild')
-rw-r--r-- | games-rpg/planeshift/planeshift-9999.ebuild | 54 |
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() { +#} + |