summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2004-05-04 01:45:58 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2004-05-04 01:45:58 +0000
commita9cbfd55ce7c13c34edcfb353e681a5a94e18933 (patch)
tree83cd24d24c2f98744d41d4a31ddff99b6a4d4478 /games-strategy/castle-combat/castle-combat-0.7.4.ebuild
parentRemoving the mad metapackage... madplay pulls in everything. (diff)
downloadgentoo-2-a9cbfd55ce7c13c34edcfb353e681a5a94e18933.tar.gz
gentoo-2-a9cbfd55ce7c13c34edcfb353e681a5a94e18933.tar.bz2
gentoo-2-a9cbfd55ce7c13c34edcfb353e681a5a94e18933.zip
IUSE; tidy
Diffstat (limited to 'games-strategy/castle-combat/castle-combat-0.7.4.ebuild')
-rw-r--r--games-strategy/castle-combat/castle-combat-0.7.4.ebuild14
1 files changed, 6 insertions, 8 deletions
diff --git a/games-strategy/castle-combat/castle-combat-0.7.4.ebuild b/games-strategy/castle-combat/castle-combat-0.7.4.ebuild
index 4da823f1c855..04e2ce8ac884 100644
--- a/games-strategy/castle-combat/castle-combat-0.7.4.ebuild
+++ b/games-strategy/castle-combat/castle-combat-0.7.4.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-strategy/castle-combat/castle-combat-0.7.4.ebuild,v 1.2 2004/02/20 07:38:17 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/castle-combat/castle-combat-0.7.4.ebuild,v 1.3 2004/05/04 01:44:13 mr_bones_ Exp $
inherit games
@@ -11,6 +11,7 @@ SRC_URI="http://user.cs.tu-berlin.de/~karlb/castle-combat/${P}.tar.gz"
SLOT="0"
LICENSE="GPL-2"
KEYWORDS="x86"
+IUSE=""
RDEPEND="virtual/glibc
sys-libs/zlib
@@ -26,16 +27,13 @@ src_unpack() {
cd ${S}
# dist file seems to include a copy of SDL_net. Take it out so we link
# against the system copy instead.
- sed -i -e "s/SDL_net//" src/Makefile.in || die "sed src/Makefile.in failed"
-}
-
-src_compile() {
- egamesconf || die
- emake || die
+ sed -i \
+ -e "s/SDL_net//" src/Makefile.in \
+ || die "sed src/Makefile.in failed"
}
src_install() {
- make install DESTDIR=${D} || die
+ make DESTDIR="${D}" install || die "make install failed"
dodoc AUTHORS ChangeLog README TODO || die "dodoc failed"
prepgamesdirs
}