summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Gianelloni <wolf31o2@gentoo.org>2006-10-05 20:41:09 +0000
committerChris Gianelloni <wolf31o2@gentoo.org>2006-10-05 20:41:09 +0000
commitc9f6a5eb472259bc309699a383158ca342c18908 (patch)
treeb45ec2d4d964227850f28495a73c687ca42756bc /games-strategy/savage-bin
parentUpdating the 2.4 to block gnome 2.16, per bug 147707 (diff)
downloadhistorical-c9f6a5eb472259bc309699a383158ca342c18908.tar.gz
historical-c9f6a5eb472259bc309699a383158ca342c18908.tar.bz2
historical-c9f6a5eb472259bc309699a383158ca342c18908.zip
Initial import. Ebuild originally by Anton Romanov <theli@ukr.net> and edited by me. Closing bug #146161.
Package-Manager: portage-2.1.2_pre1-r4
Diffstat (limited to 'games-strategy/savage-bin')
-rw-r--r--games-strategy/savage-bin/ChangeLog11
-rw-r--r--games-strategy/savage-bin/Manifest30
-rw-r--r--games-strategy/savage-bin/files/digest-savage-bin-2.00c15
-rw-r--r--games-strategy/savage-bin/metadata.xml9
-rw-r--r--games-strategy/savage-bin/savage-bin-2.00c.ebuild101
5 files changed, 166 insertions, 0 deletions
diff --git a/games-strategy/savage-bin/ChangeLog b/games-strategy/savage-bin/ChangeLog
new file mode 100644
index 000000000000..db39965b4a73
--- /dev/null
+++ b/games-strategy/savage-bin/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for games-strategy/savage-bin
+# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/savage-bin/ChangeLog,v 1.1 2006/10/05 20:41:09 wolf31o2 Exp $
+
+*savage-bin-2.00c (05 Oct 2006)
+
+ 05 Oct 2006; Chris Gianelloni <wolf31o2@gentoo.org> +metadata.xml,
+ +savage-bin-2.00c.ebuild:
+ Initial import. Ebuild originally by Anton Romanov <theli@ukr.net> and
+ edited by me. Closing bug #146161.
+
diff --git a/games-strategy/savage-bin/Manifest b/games-strategy/savage-bin/Manifest
new file mode 100644
index 000000000000..908b7dc498ac
--- /dev/null
+++ b/games-strategy/savage-bin/Manifest
@@ -0,0 +1,30 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+DIST SEP-2C-noSSE.tar.gz 1373174 RMD160 6652f60d51af98242e24bbdfe4540c9c43a9cb73 SHA1 1c6b122d7bac18195e586542b9309ffd0834ec1e SHA256 467fbf10d5a3ea19eddc56790c2837bb7b50f7baf51ae525637f00cbe09f9207
+DIST SEP-3T.tar.gz 54138248 RMD160 883b1d2293037b3aaade2347212131ca04d61d48 SHA1 5acfb9bb06352ed345d5ff94450bc1b98258f6b6 SHA256 0d24ce2e1e7be527ce30580aeec9ec6b0440ec94644ea06f075665e2959d8767
+DIST SEP-3T_3T+-r2.tar.gz 3328787 RMD160 4031c80d26a806283027a6177e38c4c7b075919c SHA1 c438cbd09267cdf61981f164e15337c0127c175b SHA256 2dbd4e4fb8a48f13556f4970d46c76b54fec18d834e4c3fd6af067c17131647b
+DIST savage_2.00c-english.update.run 76914210 RMD160 994b42cf9878ce47123454e512411dce9e619678 SHA1 54bb2bebfe5206276b1762531cb1063d88c86a79 SHA256 dbcd0bd62206c522d789a33935be8cfcf5522fb13a47a00b126b6dbdcc6ca90a
+DIST savage_linux.sh.gz 330693936 RMD160 0a86d8cec0f13e875ac3f5b0b8c9403fdd6847f3 SHA1 f281fb3361c547e598934eeb9ee4daea4cf929f2 SHA256 e620d39df94c124c5a4889998512d80176e6470bcdd316091f20b34fe059293f
+EBUILD savage-bin-2.00c.ebuild 2589 RMD160 fffcf57aa92b4620005de876a6e95f7fd1b1746d SHA1 926679fd442d691adaf5beed341792de0e9df680 SHA256 4c331890b4a80751ad71097a102cfb7945ef67835440d45cf4b26a6def6e1ddf
+MD5 15336beff6ef9c6320fd65139bdd7bbc savage-bin-2.00c.ebuild 2589
+RMD160 fffcf57aa92b4620005de876a6e95f7fd1b1746d savage-bin-2.00c.ebuild 2589
+SHA256 4c331890b4a80751ad71097a102cfb7945ef67835440d45cf4b26a6def6e1ddf savage-bin-2.00c.ebuild 2589
+MISC ChangeLog 466 RMD160 641d24c4ae78e99a91a776f43ecd8d24eaa86998 SHA1 db55d724c26fd3da5b5f50d8ac597ba8a172f6f0 SHA256 fbfb4826a045954bb1f73b9f249c7e5bc81638cbe58d4a8d8179e30bba639526
+MD5 56130b9f642c072e1ca1c28830462b15 ChangeLog 466
+RMD160 641d24c4ae78e99a91a776f43ecd8d24eaa86998 ChangeLog 466
+SHA256 fbfb4826a045954bb1f73b9f249c7e5bc81638cbe58d4a8d8179e30bba639526 ChangeLog 466
+MISC metadata.xml 254 RMD160 877a1dc36df2be58926bc51041093feafdefe429 SHA1 45f0334cd127c4a1b4ece41f7098ab70046e378a SHA256 2916aab684ec3908fffb515065eeb2c481cde563380b682646add582bed5f535
+MD5 11a7e1491b1ac042ac7216b26b4ad1fb metadata.xml 254
+RMD160 877a1dc36df2be58926bc51041093feafdefe429 metadata.xml 254
+SHA256 2916aab684ec3908fffb515065eeb2c481cde563380b682646add582bed5f535 metadata.xml 254
+MD5 53861a743e6c43f89d0ee614fcb13ad6 files/digest-savage-bin-2.00c 1235
+RMD160 5b52876e0910d6eab917fd2f54980bbfb5fe65de files/digest-savage-bin-2.00c 1235
+SHA256 2b316827730a0cb86069a407d4c80ced0e73698ebecb5c89afcdbbee2fa91543 files/digest-savage-bin-2.00c 1235
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.4.5 (GNU/Linux)
+
+iD8DBQFFJW4GkT4lNIS36YERAiISAJ9FGFxPhl2H/+MYlCPiATE62kPJkwCgv0yO
+2i3kCm1eXqoR3eEZ4HjCaAA=
+=JTrk
+-----END PGP SIGNATURE-----
diff --git a/games-strategy/savage-bin/files/digest-savage-bin-2.00c b/games-strategy/savage-bin/files/digest-savage-bin-2.00c
new file mode 100644
index 000000000000..2827e9eb93f9
--- /dev/null
+++ b/games-strategy/savage-bin/files/digest-savage-bin-2.00c
@@ -0,0 +1,15 @@
+MD5 e865d64554d33dd5c9ea3f145568bbac SEP-2C-noSSE.tar.gz 1373174
+RMD160 6652f60d51af98242e24bbdfe4540c9c43a9cb73 SEP-2C-noSSE.tar.gz 1373174
+SHA256 467fbf10d5a3ea19eddc56790c2837bb7b50f7baf51ae525637f00cbe09f9207 SEP-2C-noSSE.tar.gz 1373174
+MD5 c1fad84321340417b2896bc62f8e7147 SEP-3T.tar.gz 54138248
+RMD160 883b1d2293037b3aaade2347212131ca04d61d48 SEP-3T.tar.gz 54138248
+SHA256 0d24ce2e1e7be527ce30580aeec9ec6b0440ec94644ea06f075665e2959d8767 SEP-3T.tar.gz 54138248
+MD5 0019e98233ae99f4952cc48a2396b1d6 SEP-3T_3T+-r2.tar.gz 3328787
+RMD160 4031c80d26a806283027a6177e38c4c7b075919c SEP-3T_3T+-r2.tar.gz 3328787
+SHA256 2dbd4e4fb8a48f13556f4970d46c76b54fec18d834e4c3fd6af067c17131647b SEP-3T_3T+-r2.tar.gz 3328787
+MD5 61ce6fe014e7f5812cbf2d9a8e2636e2 savage_2.00c-english.update.run 76914210
+RMD160 994b42cf9878ce47123454e512411dce9e619678 savage_2.00c-english.update.run 76914210
+SHA256 dbcd0bd62206c522d789a33935be8cfcf5522fb13a47a00b126b6dbdcc6ca90a savage_2.00c-english.update.run 76914210
+MD5 3655ed9ef7407af3ef8d544297a08784 savage_linux.sh.gz 330693936
+RMD160 0a86d8cec0f13e875ac3f5b0b8c9403fdd6847f3 savage_linux.sh.gz 330693936
+SHA256 e620d39df94c124c5a4889998512d80176e6470bcdd316091f20b34fe059293f savage_linux.sh.gz 330693936
diff --git a/games-strategy/savage-bin/metadata.xml b/games-strategy/savage-bin/metadata.xml
new file mode 100644
index 000000000000..fe08918e6837
--- /dev/null
+++ b/games-strategy/savage-bin/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>games</herd>
+<maintainer>
+ <email>wolf31o2@gentoo.org</email>
+ <name>Chris Gianelloni</name>
+</maintainer>
+</pkgmetadata>
diff --git a/games-strategy/savage-bin/savage-bin-2.00c.ebuild b/games-strategy/savage-bin/savage-bin-2.00c.ebuild
new file mode 100644
index 000000000000..15ba0705da67
--- /dev/null
+++ b/games-strategy/savage-bin/savage-bin-2.00c.ebuild
@@ -0,0 +1,101 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/savage-bin/savage-bin-2.00c.ebuild,v 1.1 2006/10/05 20:41:09 wolf31o2 Exp $
+
+inherit eutils games
+
+SEP_URI="http://www.notforidiots.com/autoupdater/"
+BASE_URI="http://downloads.s2games.com/online_orders/"
+
+DESCRIPTION="Unique mix of strategy and FPS"
+HOMEPAGE="http://savage.s2games.com/"
+SRC_URI="${BASE_URI}/savage_linux.sh.gz
+ mirror://liflg/savage_${PV}-english.update.run
+ ${SEP_URI}/SEP-3T.tar.gz
+ ${SEP_URI}/SEP-3T_3T+-r2.tar.gz
+ x86? ( !sse? ( ${SEP_URI}/SEP-2C-noSSE.tar.gz ) )"
+# doc? (${MANUAL_URI})"
+
+LICENSE="as-is"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE="sse doc"
+RESTRICT="mirror strip"
+DEPEND="games-util/loki_patch"
+
+RDEPEND=""
+
+S=${WORKDIR}
+
+dir=${GAMES_PREFIX_OPT}/savage
+Ddir=${D}/${dir}
+
+src_unpack() {
+ einfo "Unpacking base file"
+ einfo "This will take a while"
+ unpack savage_linux.sh.gz
+ unpack_makeself ${S}/savage_linux.sh || die "unpacking base files"
+ find ./ -type f -name '*.dll' -exec rm '{}' \;
+ find ./ -type f -name '*.exe' -exec rm '{}' \;
+ find ./ -type f -name '*.bat' -exec rm '{}' \;
+ rm Savage/docs/*.url
+ rm savage_linux.sh
+ einfo "Unpacking other files"
+ mkdir patch
+ cd patch
+ unpack_makeself savage_${PV}-english.update.run
+ cd ..
+ mkdir sep
+ cd sep
+ unpack SEP-3T.tar.gz
+ unpack SEP-3T_3T+-r2.tar.gz
+ if ! use sse && use x86 ; then
+ unpack SEP-2C-noSSE.tar.gz
+ fi
+# cd ..
+# if use doc;then
+# unpack ${MANUAL_URI}
+# fi
+}
+
+src_install() {
+ dodir ${dir}
+ insinto ${dir}
+ doins -r Savage/*
+ doins -r linux/*
+ doins bin/x86/*
+ cd patch
+ loki_patch patch.dat ${Ddir} || die "patching failed"
+ cd ..
+ doins -r sep/*
+# if use doc; then
+# insinto ${dir}/docs
+# doins *.pdf
+# fi
+
+ touch ${Ddir}/scripts.log
+
+ prepgamesdirs
+
+ fperms ug+x ${dir}/silverback.bin
+ fperms ug+w ${dir}/scripts.log
+
+ rm -rf ${Ddir}/savage* ${Ddir}/update ${Ddir}/updater \
+ ${Ddir}/editor.* ${Ddir}/dedicated* ${Ddir}/*.sh
+
+ newicon linux/icon.xpm savage.xpm
+ games_make_wrapper savage "./silverback.bin set mod game" ${dir} ${dir}/libs
+ make_desktop_entry savage "Savage: Battle For Newerth" savage.xpm
+
+ games_make_wrapper savage-editor "./silverback.bin set mod editor" ${dir} ${dir}/libs
+ make_desktop_entry savage-editor "Savage - Editor" savage.xpm
+
+ games_make_wrapper savage-graveyard "./silverback.bin set mod graveyard" ${dir} ${dir}/libs
+ make_desktop_entry savage-graveyard "Savage - Graveyard" savage.xpm
+
+}
+
+pkg_postinst() {
+ games_pkg_postinst
+ einfo " USE CDKEY:00000000000000000000 to activate game"
+}