summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2004-04-16 17:38:12 +0000
committerMike Frysinger <vapier@gentoo.org>2004-04-16 17:38:12 +0000
commite5e9c1b4c268244d819031622f263d1235945e7d (patch)
treef7f137a1c03bacf4755b1d8c5d618d0be1d09235 /games-server/halflife-metamod
parentVersion bump (Manifest recommit) (diff)
downloadgentoo-2-e5e9c1b4c268244d819031622f263d1235945e7d.tar.gz
gentoo-2-e5e9c1b4c268244d819031622f263d1235945e7d.tar.bz2
gentoo-2-e5e9c1b4c268244d819031622f263d1235945e7d.zip
fix config files #42043
Diffstat (limited to 'games-server/halflife-metamod')
-rw-r--r--games-server/halflife-metamod/ChangeLog7
-rw-r--r--games-server/halflife-metamod/files/digest-halflife-metamod-1.17-r11
-rw-r--r--games-server/halflife-metamod/halflife-metamod-1.17-r1.ebuild63
3 files changed, 70 insertions, 1 deletions
diff --git a/games-server/halflife-metamod/ChangeLog b/games-server/halflife-metamod/ChangeLog
index 4608c7662409..2076db0adedd 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.3 2004/02/22 00:54:06 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-server/halflife-metamod/ChangeLog,v 1.4 2004/04/16 17:38:12 vapier Exp $
+
+*halflife-metamod-1.17-r1 (16 Apr 2004)
+
+ 16 Apr 2004; Mike Frysinger <vapier@gentoo.org> :
+ Version bump to fix original release (fixed config locations #42043).
*halflife-metamod-1.17 (21 Feb 2004)
diff --git a/games-server/halflife-metamod/files/digest-halflife-metamod-1.17-r1 b/games-server/halflife-metamod/files/digest-halflife-metamod-1.17-r1
new file mode 100644
index 000000000000..96ee7340bce8
--- /dev/null
+++ b/games-server/halflife-metamod/files/digest-halflife-metamod-1.17-r1
@@ -0,0 +1 @@
+MD5 1c5ff0c3d672ec257fab25340dd86f74 metamod-1.17.tgz 2256565
diff --git a/games-server/halflife-metamod/halflife-metamod-1.17-r1.ebuild b/games-server/halflife-metamod/halflife-metamod-1.17-r1.ebuild
new file mode 100644
index 000000000000..3c15f0b19255
--- /dev/null
+++ b/games-server/halflife-metamod/halflife-metamod-1.17-r1.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-r1.ebuild,v 1.1 2004/04/16 17:38:12 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}/dlls
+ doins dlls/*.so
+ fi
+ insinto ${dir}
+ doins doc/*.ini
+
+ insinto /usr/include/metamod
+ doins metamod/*.h
+
+ dodoc doc/* doc/txt/*
+ dohtml -r doc/html/*
+
+ prepgamesdirs
+}