summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2004-04-16 17:36:31 +0000
committerMike Frysinger <vapier@gentoo.org>2004-04-16 17:36:31 +0000
commitd530e3f67a08310c09c5c131fc5cfa8ca283530e (patch)
treefa9ee969fd316f069c79f10e90bf910611d94354 /games-server/halflife-metamod/halflife-metamod-1.16.2.ebuild
parentStable on sparc. (Manifest recommit) (diff)
downloadgentoo-2-d530e3f67a08310c09c5c131fc5cfa8ca283530e.tar.gz
gentoo-2-d530e3f67a08310c09c5c131fc5cfa8ca283530e.tar.bz2
gentoo-2-d530e3f67a08310c09c5c131fc5cfa8ca283530e.zip
old
Diffstat (limited to 'games-server/halflife-metamod/halflife-metamod-1.16.2.ebuild')
-rw-r--r--games-server/halflife-metamod/halflife-metamod-1.16.2.ebuild63
1 files changed, 0 insertions, 63 deletions
diff --git a/games-server/halflife-metamod/halflife-metamod-1.16.2.ebuild b/games-server/halflife-metamod/halflife-metamod-1.16.2.ebuild
deleted file mode 100644
index 7230543a50ea..000000000000
--- a/games-server/halflife-metamod/halflife-metamod-1.16.2.ebuild
+++ /dev/null
@@ -1,63 +0,0 @@
-# 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.16.2.ebuild,v 1.3 2004/02/20 07:31:48 mr_bones_ 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
-}