/[gentoo-x86]/games-server/etqw-ded/etqw-ded-1.5.ebuild
Gentoo

Contents of /games-server/etqw-ded/etqw-ded-1.5.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Wed Dec 14 17:31:07 2011 UTC (3 years ago) by vapier
Branch: MAIN
Changes since 1.2: +2 -5 lines
The games.eclass has dropped GAMES_CHECK_LICENSE support (since portage now has ACCEPT_LICENSE), so drop it here too.

(Portage version: 2.2.0_alpha79/cvs/Linux x86_64)

1 # Copyright 1999-2011 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/games-server/etqw-ded/etqw-ded-1.5.ebuild,v 1.2 2009/04/14 07:30:20 mr_bones_ Exp $
4
5 inherit games
6
7 DESCRIPTION="Enemy Territory: Quake Wars dedicated server"
8 HOMEPAGE="http://zerowing.idsoftware.com/linux/etqw/"
9 SRC_URI="ETQW-server-${PV}-full.x86.run"
10
11 LICENSE="ETQW"
12 SLOT="0"
13 KEYWORDS="-* ~amd64 ~x86"
14 IUSE=""
15 RESTRICT="fetch strip"
16
17 DEPEND="app-arch/unzip"
18 RDEPEND="sys-libs/glibc
19 amd64? ( app-emulation/emul-linux-x86-baselibs )"
20
21 S=${WORKDIR}/data
22 dir=${GAMES_PREFIX_OPT}/${PN}
23
24 QA_TEXTRELS="${dir:1}/pb/*.so"
25 QA_EXECSTACK="${dir:1}/*.x86
26 ${dir:1}/*.so*"
27
28 pkg_nofetch() {
29 einfo "Please download ${A} from"
30 einfo "${HOMEPAGE} (requires a BitTorrent client)"
31 einfo "and copy it to ${DISTDIR}"
32 }
33
34 src_unpack() {
35 tail -c +194885 "${DISTDIR}"/${A} > ${A}.zip
36 unpack ./${A}.zip
37 rm -f ${A}.zip
38 }
39
40 src_install() {
41 insinto "${dir}"
42 doins -r base pb *.txt || die "doins failed"
43 exeinto "${dir}"
44 doexe etqwded.x86 *.so* || die "doexe failed"
45 games_make_wrapper ${PN} ./etqwded.x86 "${dir}" "${dir}"
46 prepgamesdirs
47 }

  ViewVC Help
Powered by ViewVC 1.1.20