summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoel Martin <kanaka@gentoo.org>2004-08-27 16:40:01 +0000
committerJoel Martin <kanaka@gentoo.org>2004-08-27 16:40:01 +0000
commit40485e50ceae2a86a8f840d4b4e5de6233f0b91e (patch)
tree3c68739b6f99e6fd11a6b6fb6366751e9dab1a45 /games-rpg/eternal-lands
parentVersion bumped. Closes 61164Version bumped. Closes 61164 (diff)
downloadhistorical-40485e50ceae2a86a8f840d4b4e5de6233f0b91e.tar.gz
historical-40485e50ceae2a86a8f840d4b4e5de6233f0b91e.tar.bz2
historical-40485e50ceae2a86a8f840d4b4e5de6233f0b91e.zip
Initial commit of ebuild for version 1.0.0
Diffstat (limited to 'games-rpg/eternal-lands')
-rw-r--r--games-rpg/eternal-lands/ChangeLog9
-rw-r--r--games-rpg/eternal-lands/Manifest4
-rw-r--r--games-rpg/eternal-lands/eternal-lands-1.0.0.ebuild65
-rw-r--r--games-rpg/eternal-lands/files/digest-eternal-lands-1.0.02
-rw-r--r--games-rpg/eternal-lands/metadata.xml8
5 files changed, 88 insertions, 0 deletions
diff --git a/games-rpg/eternal-lands/ChangeLog b/games-rpg/eternal-lands/ChangeLog
new file mode 100644
index 000000000000..634de5d8eb01
--- /dev/null
+++ b/games-rpg/eternal-lands/ChangeLog
@@ -0,0 +1,9 @@
+# ChangeLog for games-rpg/eternal-lands
+# Copyright 1999-2004 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-rpg/eternal-lands/ChangeLog,v 1.1 2004/08/27 16:40:01 kanaka Exp $
+
+*eternal-lands-1.0.0 (17 Aug 2004)
+
+ 17 Aug 2004; Joel Martin <kanaka@gentoo.org> +eternal-lands-1.0.0.ebuild:
+ Initial creation of ebuild
+
diff --git a/games-rpg/eternal-lands/Manifest b/games-rpg/eternal-lands/Manifest
new file mode 100644
index 000000000000..5b56f3d822d3
--- /dev/null
+++ b/games-rpg/eternal-lands/Manifest
@@ -0,0 +1,4 @@
+MD5 f4b4ade405a146023661c657c29dff4a eternal-lands-1.0.0.ebuild 2031
+MD5 a8bd201cf7cb9c17dc9887b8d677fedc ChangeLog 361
+MD5 f14047c98a46008d55322cc6df542db0 metadata.xml 218
+MD5 13332eb34e0c35e33cfd4e40064f1672 files/digest-eternal-lands-1.0.0 113
diff --git a/games-rpg/eternal-lands/eternal-lands-1.0.0.ebuild b/games-rpg/eternal-lands/eternal-lands-1.0.0.ebuild
new file mode 100644
index 000000000000..21d3146c9598
--- /dev/null
+++ b/games-rpg/eternal-lands/eternal-lands-1.0.0.ebuild
@@ -0,0 +1,65 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-rpg/eternal-lands/eternal-lands-1.0.0.ebuild,v 1.1 2004/08/27 16:40:01 kanaka Exp $
+
+inherit games
+
+DESCRIPTION="Eternal Lands is an online MMORPG written in C and SDL"
+HOMEPAGE="http://www.eternal-lands.com"
+TMP_PV=${PV%_p*}
+SRC_URI="http://el.tfm.ro/el_${TMP_PV//.}.zip ftp://ftp.berlios.de/pub/elc/elc_${PV//.}.tgz"
+
+LICENSE="eternal_lands"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE=""
+
+DEPEND="virtual/x11
+ virtual/opengl
+ >=media-libs/libsdl-1.2.5
+ >=media-libs/sdl-net-1.2.5
+ >media-libs/openal-20020127
+ media-libs/libvorbis
+ >=dev-libs/libxml2-2.6.7"
+
+RDEPEND=${DEPEND}
+
+S="${WORKDIR}/elc"
+
+src_compile() {
+ cd ${S}
+ sed \
+ -e "s@CFLAGS=\$(PLATFORM) -Wall -ggdb -pipe@CFLAGS=${CFLAGS}@g" \
+ -e 's@OPTIONS=@OPTIONS=-DDATA_DIR="\\"${GAMES_DATADIR}/${PN}/\\"" @g' \
+ Makefile.linux > Makefile || die "sed failed"
+ emake || die "emake failed"
+ cp el.x86.linux.bin ../el.x86.linux.bin || die "copy failed"
+ cp eternal_lands_license.txt ../LICENSE || die "copy failed"
+ sed \
+ -e 's/#browser/browser/g' \
+ -e 's/browser = mozilla/#browser = mozilla/g' \
+ -e "s@data_dir = /usr/local/games/el/@#data_dir = ${GAMES_DATADIR}/${PN}/@g" \
+ el.ini > ../el.ini || die "sed failed"
+ cd ..
+ cp license.txt EULA || die "copy failed"
+ if [[ -e Encyclopedia/images/.xvpics ]]; then
+ rm -r Encyclopedia/images/.xvpics || die "could not clean xvpics"
+ fi
+}
+
+src_install () {
+ cd "${WORKDIR}"
+ insinto ${GAMES_DATADIR}/${PN}
+ newgamesbin el.x86.linux.bin el
+ dodoc changes.txt faq.txt readme.txt LICENSE EULA
+ doins el.ini *.lst el_icon.png icon.bmp global_filters.txt global_ignores.txt \
+ || die "Files failed to be installed"
+ cp -R 2dobjects 3dobjects Encyclopedia maps md2 sound textures tiles \
+ ${D}/${GAMES_DATADIR}/${PN} || die "copy failed"
+}
+
+pkg_postinst() {
+ einfo "To run the game: el"
+ einfo "Copy ${GAMES_DATADIR}/${PN}/el.ini to ~/.elc/"
+ einfo "to make per-user changes."
+}
diff --git a/games-rpg/eternal-lands/files/digest-eternal-lands-1.0.0 b/games-rpg/eternal-lands/files/digest-eternal-lands-1.0.0
new file mode 100644
index 000000000000..1e4c693fd993
--- /dev/null
+++ b/games-rpg/eternal-lands/files/digest-eternal-lands-1.0.0
@@ -0,0 +1,2 @@
+MD5 594a75b39a95c753e8e43560dccda098 el_100.zip 23888304
+MD5 d6408a8a247fcfcc0eef3e18198427e2 elc_100.tgz 242047
diff --git a/games-rpg/eternal-lands/metadata.xml b/games-rpg/eternal-lands/metadata.xml
new file mode 100644
index 000000000000..94d7f45c6333
--- /dev/null
+++ b/games-rpg/eternal-lands/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>games</herd>
+<maintainer>
+<email>kanaka@gentoo.org</email>
+</maintainer>
+</pkgmetadata>