summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'games-action/xshipwars')
-rw-r--r--games-action/xshipwars/Manifest39
-rw-r--r--games-action/xshipwars/files/digest-xshipwars-2.4.712
-rw-r--r--games-action/xshipwars/files/digest-xshipwars-2.5.412
-rw-r--r--games-action/xshipwars/xshipwars-2.4.7.ebuild93
-rw-r--r--games-action/xshipwars/xshipwars-2.5.4.ebuild93
5 files changed, 14 insertions, 235 deletions
diff --git a/games-action/xshipwars/Manifest b/games-action/xshipwars/Manifest
index b2d1624b6e86..25869e00c769 100644
--- a/games-action/xshipwars/Manifest
+++ b/games-action/xshipwars/Manifest
@@ -1,3 +1,6 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
AUX xshipwars-1.34.0-gcc3.patch 1338 RMD160 4a45e47d1baba133b3056d152283a9a5858ca5cc SHA1 860ae7472b3810a128d1aa5ed74bf6c9440004bb SHA256 60cf88c546e092ca40719f20888f9deed780b2f3db3b73f003dd77827adfa0b9
MD5 810c3eb40cc4e406109ac3f0e33b3fa9 files/xshipwars-1.34.0-gcc3.patch 1338
RMD160 4a45e47d1baba133b3056d152283a9a5858ca5cc files/xshipwars-1.34.0-gcc3.patch 1338
@@ -24,40 +27,25 @@ RMD160 40c51ac306842c8191509954b2670811c37dcb3a files/xshipwars-2.5.5-build.patc
SHA256 78b721ec79d00b470511789926aa702f6d95ae010a0dbd895a9433d310662d0a files/xshipwars-2.5.5-build.patch 1967
DIST babylon5images1.1.tar.bz2 4531670 RMD160 ebdba429672ee2482066dfb17e2e9b6499318e75 SHA1 11600a8d5eb0d7f142cb4e0eac31eee92d9361cc SHA256 5bd54aee3475246efb915b91ba601de96c4e97e5a119fc3e6b81fce7cfc73f56
DIST stimages-1.11.1.tar.bz2 9707377 RMD160 79130ccaeb3458576d04b15fb82e81776cb0ab93 SHA1 a104bfec0ca56b57d130036c5f223fc4be679977 SHA256 deb34a3e0c7cfd16a1be105039f80a31d1bfd4fc9ed01d43d04e9f5ecd4c4e50
-DIST stimages-1.9.5.tar.bz2 9258917 RMD160 a45ec272936202d7509244cf149749337f1c907f SHA1 b73b2a99acc1231af524f63f6094b23fea7758c2 SHA256 7561f3bcbbbf0642e18b5118da8e1b8f3ec94f7445357cbfb7815868cf627d01
-DIST stimages-1.9.7.tar.bz2 9291386 RMD160 1df05888a5c3bb796add234a2b764f1c9b489fc1 SHA1 2fa86d8ddb72639975470e4589c612106bdba5cc SHA256 a6c4d7c78b4afc5b1834300aefcf40bc2327b0ba9d977f0d2749d8881c18bada
DIST stimages1.7.tar.bz2 6380434 RMD160 38dd6b72bb6e810f00238de2ed4e11921963fb7a SHA1 16eb96fbabb0a7a42902c3dd5b9cdd0ec903cdc1 SHA256 f57993c232d3f5335c925cc53e7481a19c3633c3d6350b286ed13cec127135ae
-DIST stsounds-1.5.2.tar.bz2 592445 RMD160 ded16dedd17417d7e44fc4ffa3e0667f9331b76e SHA1 3392bd383bd0d322fcf06518a8440ecacec7d983 SHA256 aedefe0bea2da8d5f6275e90a15673923ec4018fa6d03c95b9265f6f3d832235
DIST stsounds-1.6.4.tar.bz2 853101 RMD160 1ab068596d52d9b3a21ad29da0e648cd1b74e3f9 SHA1 34cd0700fd854bfd487d91fcdbafabd3a2bfef63 SHA256 e355ad53103a8094d0a12b5955ef0c70cd181ee740ee8d13e9edf7480594cff4
DIST stsounds1.4.tgz 663695 RMD160 ef01851aaaf1bc936506b23e160eca20ed47322e SHA1 86212ea23bc0134ee099b431b90bff4b6bb883c3 SHA256 59743b948d4e91a02297d574398c0f2b8b4f2b28ebb53b7ab8b92f9f7df12d43
DIST xsw-1.34.0.tar.bz2 1035462 RMD160 a56e3456bfd3d3b2275ed321e845c256f55c2efd SHA1 4f4b5d7c68a79474f193ca122bcbf44e063e5933 SHA256 7c140ee4d2ab4dd682fe68b6bceaeaad8698b5b502983b1164eb8ed52ecc1625
-DIST xsw-2.4.7.tar.bz2 1096478 RMD160 b501ec4f8d521a1a83637c3da53ac00b85860bb2 SHA1 c7ba7807c77d823a5c3151de997f51bcdd69ec17 SHA256 3022fd8f3fdd237511799ff591bc7b716f77621d466c0ef1c60033e749db0d62
-DIST xsw-2.5.4.tar.bz2 1158008 RMD160 308f0230322098615a417bcd1340e747743ef1ab SHA1 8f47b55ac12da056bf82bd0654f5f924f345d2ca SHA256 6da773bbe37b432445a58de103d65d3c1465367ccfa14e2ebe0c937dbe0f33b3
DIST xsw-2.5.5.tar.bz2 1172378 RMD160 d5e7bda32658bcfeb600eec25c052cabc6f170d1 SHA1 5335fef8cc29ce7b934ca3be8f2ba0625a81a184 SHA256 293e62806eaf73ca272fbd9e74a302a18469b60ef15ea29c7dd574534a3dc47d
-DIST xsw-data-2.4.7.tar.bz2 2639438 RMD160 6214d783cc85c64715bc46342eeaedc60f11e74d SHA1 ca51ce63c4d1404ac0489a300305b8039c965c67 SHA256 eabbd937a816b10a9fc4fcd883f77770fc9d0d1368d3b9911d523b7cd7ddd36b
-DIST xsw-data-2.5.4.tar.bz2 2639915 RMD160 c4a43c4da53691898872b6114074bf6c874e2a6f SHA1 48a9d7dc82ba741288179b374195dd4e0f60ed7b SHA256 ac384b2f1784f9f75ce52269348fd229527c86423ecaaee0b4d72cffe05907cc
DIST xsw-data-2.5.5.tar.bz2 2638302 RMD160 914ca9feba23cacfde14aac621a0e70f2adb882b SHA1 b436615af4e14584dd1a8ed03663323af4c8a605 SHA256 7222e1c6fe67d59141484f4e327be3c56cf7422d14e0f029caa689145b37e35e
DIST xswdata-1.33d.tar.bz2 2576273 RMD160 6c7973a7c4a499880c1d698d1649ff3c989ebbc6 SHA1 9932106000dc29ac2612d49d349f359122bb508b SHA256 35a406ccfbb1ac29a9e4b388d80541df5de039aaae934d4207b5d8e93b44741f
EBUILD xshipwars-1.34.0.ebuild 2777 RMD160 23b707caf55a13e23bdd00c9acb575dba9e0d44c SHA1 6fda583cddf8265d49b2a950733c198df4e4b612 SHA256 3ba7cd1cc27acc0b238cd542ca808c7b3126b593b87b627b93739f599ff6efa4
MD5 1ecadced331420e070d873a231e6ad3f xshipwars-1.34.0.ebuild 2777
RMD160 23b707caf55a13e23bdd00c9acb575dba9e0d44c xshipwars-1.34.0.ebuild 2777
SHA256 3ba7cd1cc27acc0b238cd542ca808c7b3126b593b87b627b93739f599ff6efa4 xshipwars-1.34.0.ebuild 2777
-EBUILD xshipwars-2.4.7.ebuild 2762 RMD160 8e6386aca0274159ec5d2d778f520eecaf7f2041 SHA1 4642a2f1d25722deb95de583751f142ab48ae398 SHA256 85469feead02b14cb17ba0868fec71687f17e494f28e42825c9801be191b01d7
-MD5 e7d694e96802d3a14ff8b3b390afe295 xshipwars-2.4.7.ebuild 2762
-RMD160 8e6386aca0274159ec5d2d778f520eecaf7f2041 xshipwars-2.4.7.ebuild 2762
-SHA256 85469feead02b14cb17ba0868fec71687f17e494f28e42825c9801be191b01d7 xshipwars-2.4.7.ebuild 2762
-EBUILD xshipwars-2.5.4.ebuild 2701 RMD160 966fc67df1c62ee5973bcfa30fee2f3670347d10 SHA1 d415bb7b8462069778db7c1a8f9badc1b4565482 SHA256 b243bc3d93809acf7a63e92ae303f4d877d39fbbab1bb5b8f4e24ba8866164fd
-MD5 00667c755105fb7de28ddf56f357451f xshipwars-2.5.4.ebuild 2701
-RMD160 966fc67df1c62ee5973bcfa30fee2f3670347d10 xshipwars-2.5.4.ebuild 2701
-SHA256 b243bc3d93809acf7a63e92ae303f4d877d39fbbab1bb5b8f4e24ba8866164fd xshipwars-2.5.4.ebuild 2701
EBUILD xshipwars-2.5.5.ebuild 2684 RMD160 2e18c65dd44bb838c762ea58ee5978f466e39f0f SHA1 f84797d2fb5d3b630b87ee5f71a993f08330e613 SHA256 38bb012e543ee5bc72f8f1c786767c5e8b8b4f00cd333417b9d012a9620e740c
MD5 b5e0ebd3075856b1c1f39cf6332a953e xshipwars-2.5.5.ebuild 2684
RMD160 2e18c65dd44bb838c762ea58ee5978f466e39f0f xshipwars-2.5.5.ebuild 2684
SHA256 38bb012e543ee5bc72f8f1c786767c5e8b8b4f00cd333417b9d012a9620e740c xshipwars-2.5.5.ebuild 2684
-MISC ChangeLog 2501 RMD160 fa5d2b7fc021a169d68bb589602c289bae3a3713 SHA1 997b6fdd5dd3b04e5646f4ebad56eba3700891e5 SHA256 cec1bc2d8c669aede1e58780862d2307560a0864e55794471b3332f4dba0b1ba
-MD5 6e8a1826897a95d5ea7e1b96abd31539 ChangeLog 2501
-RMD160 fa5d2b7fc021a169d68bb589602c289bae3a3713 ChangeLog 2501
-SHA256 cec1bc2d8c669aede1e58780862d2307560a0864e55794471b3332f4dba0b1ba ChangeLog 2501
+MISC ChangeLog 2636 RMD160 5a873316472c2879a597acd22b58aab6fdf83bd4 SHA1 84179380b4242556c5fda33610645fb5fedc5f4b SHA256 a3dba7a81691b22699c0418c047cf6aa34f318cfad7dad7818c08c48dd3f9fed
+MD5 265d5636cf1742d6dcf68d879fed5e2c ChangeLog 2636
+RMD160 5a873316472c2879a597acd22b58aab6fdf83bd4 ChangeLog 2636
+SHA256 a3dba7a81691b22699c0418c047cf6aa34f318cfad7dad7818c08c48dd3f9fed ChangeLog 2636
MISC metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea SHA1 be5251fa1dacef5c41b74761bb1c8c54fb633b9e SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3
MD5 f17b9b8fa07a38914fe1c03268f51678 metadata.xml 158
RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea metadata.xml 158
@@ -65,12 +53,13 @@ SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3 metadata
MD5 66bd2f9ba17efbbecac1e350ada6adad files/digest-xshipwars-1.34.0 1211
RMD160 a47f0b96e5ebde560da6530f31adfc09743e1b66 files/digest-xshipwars-1.34.0 1211
SHA256 660f1da86ac4466a587ebf70fa2b6acb98ad78256f938fe0baf32c35991a4c5b files/digest-xshipwars-1.34.0 1211
-MD5 18926cd45c71901b5ad13a9c03c26d16 files/digest-xshipwars-2.4.7 982
-RMD160 5ed4b433e384d8dd646501d29aabf752532bb8fe files/digest-xshipwars-2.4.7 982
-SHA256 b3ebe6d9d7922e88b26523d32eb60a58d0dff3710ebce28a9ece0f19753a3831 files/digest-xshipwars-2.4.7 982
-MD5 3438c195fde7a2e9d5e671e51a056350 files/digest-xshipwars-2.5.4 982
-RMD160 71a1d49eb12c7330c8278be4cf973c36ce3996c3 files/digest-xshipwars-2.5.4 982
-SHA256 9b0dc6ebfb4f58f92fae66e147e3857d2eb7c44362c8e18e441a7dc9d10401ab files/digest-xshipwars-2.5.4 982
MD5 d974e56ddb0f0e0d99d60cd190f59d82 files/digest-xshipwars-2.5.5 985
RMD160 a0d565fb4b4e5b4b83175e32add3f5d8e2149492 files/digest-xshipwars-2.5.5 985
SHA256 6813208fe9e46e50d649d25f27f7750c00a6d45005530676174242038694112d files/digest-xshipwars-2.5.5 985
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.4.5 (GNU/Linux)
+
+iD8DBQFFUOVQkT4lNIS36YERAscIAJ489PIwXq4e/yedJUduTV8rCdHpUQCfUfPY
+W2qINNE6vEZvu7YMSvDQlNo=
+=BjUp
+-----END PGP SIGNATURE-----
diff --git a/games-action/xshipwars/files/digest-xshipwars-2.4.7 b/games-action/xshipwars/files/digest-xshipwars-2.4.7
deleted file mode 100644
index 19130d3c5ad5..000000000000
--- a/games-action/xshipwars/files/digest-xshipwars-2.4.7
+++ /dev/null
@@ -1,12 +0,0 @@
-MD5 7492dbb34c98e89f60d130ad513d2947 stimages-1.9.5.tar.bz2 9258917
-RMD160 a45ec272936202d7509244cf149749337f1c907f stimages-1.9.5.tar.bz2 9258917
-SHA256 7561f3bcbbbf0642e18b5118da8e1b8f3ec94f7445357cbfb7815868cf627d01 stimages-1.9.5.tar.bz2 9258917
-MD5 c165c534b1550a6198f5b0188eabe8bc stsounds-1.5.2.tar.bz2 592445
-RMD160 ded16dedd17417d7e44fc4ffa3e0667f9331b76e stsounds-1.5.2.tar.bz2 592445
-SHA256 aedefe0bea2da8d5f6275e90a15673923ec4018fa6d03c95b9265f6f3d832235 stsounds-1.5.2.tar.bz2 592445
-MD5 cf6ca61b99e5423b62ecc252fe443b1c xsw-2.4.7.tar.bz2 1096478
-RMD160 b501ec4f8d521a1a83637c3da53ac00b85860bb2 xsw-2.4.7.tar.bz2 1096478
-SHA256 3022fd8f3fdd237511799ff591bc7b716f77621d466c0ef1c60033e749db0d62 xsw-2.4.7.tar.bz2 1096478
-MD5 40e66e37092383c4c44dd24f824ce278 xsw-data-2.4.7.tar.bz2 2639438
-RMD160 6214d783cc85c64715bc46342eeaedc60f11e74d xsw-data-2.4.7.tar.bz2 2639438
-SHA256 eabbd937a816b10a9fc4fcd883f77770fc9d0d1368d3b9911d523b7cd7ddd36b xsw-data-2.4.7.tar.bz2 2639438
diff --git a/games-action/xshipwars/files/digest-xshipwars-2.5.4 b/games-action/xshipwars/files/digest-xshipwars-2.5.4
deleted file mode 100644
index 410e5680bc80..000000000000
--- a/games-action/xshipwars/files/digest-xshipwars-2.5.4
+++ /dev/null
@@ -1,12 +0,0 @@
-MD5 55acdd97ef4cd56be0b9cfb8c7c1b853 stimages-1.9.7.tar.bz2 9291386
-RMD160 1df05888a5c3bb796add234a2b764f1c9b489fc1 stimages-1.9.7.tar.bz2 9291386
-SHA256 a6c4d7c78b4afc5b1834300aefcf40bc2327b0ba9d977f0d2749d8881c18bada stimages-1.9.7.tar.bz2 9291386
-MD5 8018b651ac3be043e2fca98729a4063f stsounds-1.6.4.tar.bz2 853101
-RMD160 1ab068596d52d9b3a21ad29da0e648cd1b74e3f9 stsounds-1.6.4.tar.bz2 853101
-SHA256 e355ad53103a8094d0a12b5955ef0c70cd181ee740ee8d13e9edf7480594cff4 stsounds-1.6.4.tar.bz2 853101
-MD5 d9bba372fdce5af0914edd07c70105db xsw-2.5.4.tar.bz2 1158008
-RMD160 308f0230322098615a417bcd1340e747743ef1ab xsw-2.5.4.tar.bz2 1158008
-SHA256 6da773bbe37b432445a58de103d65d3c1465367ccfa14e2ebe0c937dbe0f33b3 xsw-2.5.4.tar.bz2 1158008
-MD5 a84943fdced018b5ca17ca5f73be6137 xsw-data-2.5.4.tar.bz2 2639915
-RMD160 c4a43c4da53691898872b6114074bf6c874e2a6f xsw-data-2.5.4.tar.bz2 2639915
-SHA256 ac384b2f1784f9f75ce52269348fd229527c86423ecaaee0b4d72cffe05907cc xsw-data-2.5.4.tar.bz2 2639915
diff --git a/games-action/xshipwars/xshipwars-2.4.7.ebuild b/games-action/xshipwars/xshipwars-2.4.7.ebuild
deleted file mode 100644
index 7d6ffaae98bb..000000000000
--- a/games-action/xshipwars/xshipwars-2.4.7.ebuild
+++ /dev/null
@@ -1,93 +0,0 @@
-# Copyright 1999-2006 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-action/xshipwars/xshipwars-2.4.7.ebuild,v 1.3 2006/01/28 21:19:11 joshuabaergen Exp $
-
-inherit toolchain-funcs eutils games
-
-MY_P=xsw-${PV}
-DESCRIPTION="massively multi-player, ultra graphical, space-oriented gaming system designed exclusively for network play"
-HOMEPAGE="http://wolfpack.twu.net/ShipWars/XShipWars/"
-SRC_URI="http://wolfpack.twu.net/users/wolfpack/${MY_P}.tar.bz2
- http://wolfpack.twu.net/users/wolfpack/xsw-data-${PV}.tar.bz2
- http://wolfpack.twu.net/users/wolfpack/stimages-1.9.5.tar.bz2
- http://wolfpack.twu.net/users/wolfpack/stsounds-1.5.2.tar.bz2"
-
-LICENSE="GPL-2 xshipwars"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc ~x86"
-IUSE="joystick yiff esd"
-
-RDEPEND="|| ( x11-libs/libXpm virtual/x11 )
- joystick? ( media-libs/libjsw )
- yiff? ( media-libs/yiff )
- esd? ( >=media-sound/esound-0.2.23 )"
-DEPEND="${RDEPEND}
- || ( x11-proto/xextproto virtual/x11 )"
-
-S=${WORKDIR}/${MY_P}
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
- epatch "${FILESDIR}"/${P}-64bit-warnings.patch
- epatch "${FILESDIR}"/${P}-build.patch
-# epatch "${FILESDIR}"/${P}-missing-strlen-def.patch
- sed -i \
- -e "/^BINDIR/s:=.*:=${GAMES_BINDIR}:" \
- -e "/^DATADIR/s:=.*:=${GAMES_DATADIR}:" \
- */Makefile.install.UNIX || die
-}
-
-src_compile() {
- local myconf=" \
- --disable-debug \
- --disable-arch-i486 \
- --disable-arch-i586 \
- --disable-arch-i686 \
- --disable-arch-pentiumpro \
- $(use_enable joystick libjsw) \
- --enable-X11 \
- --enable-libXpm \
- $(use_enable yiff Y2) \
- $(use_enable esd ESounD) \
- "
- # xsw uses --{en,dis}able=FEATURE syntax
- myconf=${myconf//able-/able=}
-
- local x
- for x in client monitor unvedit ; do #server
- echo ./configure.${x} Linux --prefix=${GAMES_PREFIX} ${myconf}
- ./configure.${x} Linux --prefix=${GAMES_PREFIX} ${myconf} || die "configure ${x}"
- emake -j1 -f Makefile.${x} all || die "build ${x}"
- done
-}
-
-src_install() {
- local x
- for x in client monitor unvedit ; do #server
- make -f Makefile.${x} DESTDIR="${D}" install || die "install ${x}"
- done
-
- insinto "${GAMES_DATADIR}"/${PN}
- doins -r "${WORKDIR}"/{etc,images,sounds} || die "doins data"
-
- prepgamesdirs
-}
-
-pkg_postinst() {
- games_pkg_postinst
- echo
- einfo "Before playing, you should get a copy of the installed "
- einfo "global XShipWars client configuration file and copy it to "
- einfo "your home directory: "
- echo
- einfo "# mkdir ~/.shipwars/"
- einfo "# cd /usr/share/games/xshipwars/etc/ "
- einfo "# cp xshipwarsrc ~/.shipwars/xshipwarsrc "
- einfo "# cp universes ~/.shipwars/universes "
- echo
- einfo "You will probably need to edit the xshipwarsrc to fit your needs."
- echo
- einfo "Then type 'xsw &' to start the game"
- echo
-}
diff --git a/games-action/xshipwars/xshipwars-2.5.4.ebuild b/games-action/xshipwars/xshipwars-2.5.4.ebuild
deleted file mode 100644
index d6e6471e5f78..000000000000
--- a/games-action/xshipwars/xshipwars-2.5.4.ebuild
+++ /dev/null
@@ -1,93 +0,0 @@
-# Copyright 1999-2006 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-action/xshipwars/xshipwars-2.5.4.ebuild,v 1.1 2006/03/22 21:53:03 tupone Exp $
-
-inherit toolchain-funcs eutils games
-
-MY_P=xsw-${PV}
-DESCRIPTION="massively multi-player, ultra graphical, space-oriented gaming system designed exclusively for network play"
-HOMEPAGE="http://wolfpack.twu.net/ShipWars/XShipWars/"
-SRC_URI="http://wolfpack.twu.net/users/wolfpack/${MY_P}.tar.bz2
- http://wolfpack.twu.net/users/wolfpack/xsw-data-${PV}.tar.bz2
- http://wolfpack.twu.net/users/wolfpack/stimages-1.9.7.tar.bz2
- http://wolfpack.twu.net/users/wolfpack/stsounds-1.6.4.tar.bz2"
-
-LICENSE="GPL-2 xshipwars"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc ~x86"
-IUSE="joystick yiff esd"
-
-RDEPEND="|| ( x11-libs/libXpm virtual/x11 )
- joystick? ( media-libs/libjsw )
- yiff? ( media-libs/yiff )
- esd? ( >=media-sound/esound-0.2.23 )"
-DEPEND="${RDEPEND}
- || ( x11-proto/xextproto virtual/x11 )"
-
-S=${WORKDIR}/${MY_P}
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
- epatch "${FILESDIR}"/${P}-build.patch
- sed -i \
- -e "/^BINDIR/s:=.*:=${GAMES_BINDIR}:" \
- -e "/^DATADIR/s:=.*:=${GAMES_DATADIR}:" \
- */Makefile.install.UNIX || die
-}
-
-src_compile() {
- local myconf=" \
- --disable-debug \
- --disable-arch-i486 \
- --disable-arch-i586 \
- --disable-arch-i686 \
- --disable-arch-pentiumpro \
- $(use_enable joystick libjsw) \
- --enable=debug \
- --enable-X11 \
- --enable-libXpm \
- $(use_enable yiff Y2) \
- $(use_enable esd ESounD) \
- "
- # xsw uses --{en,dis}able=FEATURE syntax
- myconf=${myconf//able-/able=}
-
- local x
- for x in client monitor unvedit ; do #server
- ./configure.${x} Linux --prefix=${GAMES_PREFIX} ${myconf} || die "configure ${x}"
- emake -j1 -f Makefile.${x} all || die "build ${x}"
- done
-}
-
-src_install() {
- local x
- for x in client monitor unvedit ; do #server
- make -f Makefile.${x} DESTDIR="${D}" install || die "install ${x}"
- done
-
- insinto "${GAMES_DATADIR}"/${PN}
- doins -r "${WORKDIR}"/{etc,images,sounds} || die "doins data"
-
- prepgamesdirs
-}
-
-pkg_postinst() {
- games_pkg_postinst
- echo
- einfo "Before playing, you should get a copy of the installed "
- einfo "global XShipWars client configuration file and copy it to "
- einfo "your home directory: "
- echo
- einfo "# mkdir ~/.shipwars/"
- einfo "# cd /usr/share/games/xshipwars/etc/ "
- einfo "# cp xsw.ini ~/.shipwars/ "
- einfo "# cp universes ~/.shipwars/universes "
- echo
- einfo "You will probably need to edit the xisw.ini to fit your needs."
- echo
- einfo "Then type 'xsw &' to start the game"
- echo
- einfo "Type 'monitor &' to start the Universe Monitor"
- einfo "Type 'unvedit &' to start the Universe Editor"
-}