summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2004-02-22 00:54:06 +0000
committerMike Frysinger <vapier@gentoo.org>2004-02-22 00:54:06 +0000
commit21fd051a441932c41615d0d5aaf9d1a28e1590ef (patch)
tree8871c3da3b4f1a3323fbaa542273b8e09ff659f2 /games-server
parentamd64 (diff)
downloadhistorical-21fd051a441932c41615d0d5aaf9d1a28e1590ef.tar.gz
historical-21fd051a441932c41615d0d5aaf9d1a28e1590ef.tar.bz2
historical-21fd051a441932c41615d0d5aaf9d1a28e1590ef.zip
ver bump
Diffstat (limited to 'games-server')
-rw-r--r--games-server/halflife-metamod/ChangeLog7
-rw-r--r--games-server/halflife-metamod/files/digest-halflife-metamod-1.171
-rw-r--r--games-server/halflife-metamod/halflife-metamod-1.17.ebuild63
3 files changed, 70 insertions, 1 deletions
diff --git a/games-server/halflife-metamod/ChangeLog b/games-server/halflife-metamod/ChangeLog
index ff7a09b6d2d2..4608c7662409 100644
--- a/games-server/halflife-metamod/ChangeLog
+++ b/games-server/halflife-metamod/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for games-server/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.2 2003/09/10 15:49:00 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-server/halflife-metamod/ChangeLog,v 1.3 2004/02/22 00:54:06 vapier Exp $
+
+*halflife-metamod-1.17 (21 Feb 2004)
+
+ 21 Feb 2004; Mike Frysinger <vapier@gentoo.org> :
+ Version bump.
*halflife-metamod-1.16.2 (06 Aug 2003)
diff --git a/games-server/halflife-metamod/files/digest-halflife-metamod-1.17 b/games-server/halflife-metamod/files/digest-halflife-metamod-1.17
new file mode 100644
index 000000000000..96ee7340bce8
--- /dev/null
+++ b/games-server/halflife-metamod/files/digest-halflife-metamod-1.17
@@ -0,0 +1 @@
+MD5 1c5ff0c3d672ec257fab25340dd86f74 metamod-1.17.tgz 2256565
diff --git a/games-server/halflife-metamod/halflife-metamod-1.17.ebuild b/games-server/halflife-metamod/halflife-metamod-1.17.ebuild
new file mode 100644
index 000000000000..01d5339735df
--- /dev/null
+++ b/games-server/halflife-metamod/halflife-metamod-1.17.ebuild
@@ -0,0 +1,63 @@
+# Copyright 1999-2004 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.17.ebuild,v 1.1 2004/02/22 00:54:06 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="games-server/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
+}