diff options
author | Mike Frysinger <vapier@gentoo.org> | 2003-09-10 05:51:11 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2003-09-10 05:51:11 +0000 |
commit | edbc06b08e95c97e2012a831adcf93b9652b0be0 (patch) | |
tree | debef26d9299fcdb4a69696d45a8fc8d27d36722 /games-server/halflife-metamod | |
parent | games-server (diff) | |
download | gentoo-2-edbc06b08e95c97e2012a831adcf93b9652b0be0.tar.gz gentoo-2-edbc06b08e95c97e2012a831adcf93b9652b0be0.tar.bz2 gentoo-2-edbc06b08e95c97e2012a831adcf93b9652b0be0.zip |
games-servers !
Diffstat (limited to 'games-server/halflife-metamod')
4 files changed, 80 insertions, 0 deletions
diff --git a/games-server/halflife-metamod/ChangeLog b/games-server/halflife-metamod/ChangeLog new file mode 100644 index 000000000000..2a99d9a7f0de --- /dev/null +++ b/games-server/halflife-metamod/ChangeLog @@ -0,0 +1,13 @@ +# ChangeLog for app-games/halflife-metamod +# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/games-server/halflife-metamod/ChangeLog,v 1.1 2003/09/10 05:51:11 vapier Exp $ + +*halflife-metamod-1.16.2 (06 Aug 2003) + + 06 Aug 2003; Mike Frysinger <vapier@gentoo.org> : + Version bump + default to binary install #25236. + +*halflife-metamod-1.16 (08 Jul 2003) + + 08 Jul 2003; Mike Frysinger <vapier@gentoo.org> : + Initial import. Ebuild submitted by me. diff --git a/games-server/halflife-metamod/Manifest b/games-server/halflife-metamod/Manifest new file mode 100644 index 000000000000..ca3d5f04c4ec --- /dev/null +++ b/games-server/halflife-metamod/Manifest @@ -0,0 +1,3 @@ +MD5 350f52851012a70f58ceacca8057e049 files/digest-halflife-metamod-1.16.2 64 +MD5 a459f4a593cdc2ebe11c1c6d91c9fda9 ChangeLog 511 +MD5 40a08894e603aa8079ffe9d57bc4666a halflife-metamod-1.16.2.ebuild 1277 diff --git a/games-server/halflife-metamod/files/digest-halflife-metamod-1.16.2 b/games-server/halflife-metamod/files/digest-halflife-metamod-1.16.2 new file mode 100644 index 000000000000..b2b74ea20a2c --- /dev/null +++ b/games-server/halflife-metamod/files/digest-halflife-metamod-1.16.2 @@ -0,0 +1 @@ +MD5 29a2810dfa597c22daf3bd4bdfd647d4 metamod-1.16.2.tgz 2152713 diff --git a/games-server/halflife-metamod/halflife-metamod-1.16.2.ebuild b/games-server/halflife-metamod/halflife-metamod-1.16.2.ebuild new file mode 100644 index 000000000000..16e0a2bc0cf2 --- /dev/null +++ b/games-server/halflife-metamod/halflife-metamod-1.16.2.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/games-server/halflife-metamod/halflife-metamod-1.16.2.ebuild,v 1.1 2003/09/10 05:51:11 vapier Exp $ + +inherit games gcc + +DESCRIPTION="plugin manager for Half-Life server" +HOMEPAGE="http://www.metamod.org/" +SRC_URI="http://www.metamod.org/files/metamod-${PV}.tgz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="x86" +IUSE="src" + +DEPEND="src? ( dev-games/hlsdk ) + >=sys-apps/sed-4" +RDEPEND="app-games/halflife-server" + +S=${WORKDIR}/metamod-${PV} + +src_unpack() { + unpack ${A} + [ `use src` ] && [ `gcc-major-version` -eq 3 ] \ + && sed -i 's:-malign:-falign:g' `find -name Makefile` +} + +src_compile() { + [ `use src` ] || return 0 + make \ + SDKTOP=${GAMES_LIBDIR}/hlsdk \ + CCO="${CFLAGS}" \ + CC="$(gcc-getCC)" \ + opt \ + || die +} + +src_install() { + local dir=${GAMES_PREFIX_OPT}/halflife/addons/metamod + dodir ${dir} + + if [ `use src` ] ; then + make \ + SDKTOP=${GAMES_LIBDIR}/hlsdk \ + INST_DIR=${D}/${dir} \ + OPT=opt \ + install \ + || die + else + insinto ${dir} + doins dlls/*.so + fi + insinto ${dir} + doins doc/metamod.ini + + insinto /usr/include/metamod + doins metamod/*.h + + dodoc doc/* doc/txt/* + dohtml -r doc/html/* + + prepgamesdirs +} |