diff options
author | 2004-08-15 08:55:06 +0000 | |
---|---|---|
committer | 2004-08-15 08:55:06 +0000 | |
commit | c32a5723c1c3579cf2b14645e72468ab9f264be3 (patch) | |
tree | 638f455ad461c55390636af5a222e660c5698762 /games-arcade/methane | |
parent | SLOT 0.6.x but leave 0.7.x alone #52509 / #44258 (Manifest recommit) (diff) | |
download | gentoo-2-c32a5723c1c3579cf2b14645e72468ab9f264be3.tar.gz gentoo-2-c32a5723c1c3579cf2b14645e72468ab9f264be3.tar.bz2 gentoo-2-c32a5723c1c3579cf2b14645e72468ab9f264be3.zip |
work with the new 0.6.5 install style
Diffstat (limited to 'games-arcade/methane')
-rw-r--r-- | games-arcade/methane/methane-1.4.6.ebuild | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/games-arcade/methane/methane-1.4.6.ebuild b/games-arcade/methane/methane-1.4.6.ebuild index f5c334f7514a..f542f1141531 100644 --- a/games-arcade/methane/methane-1.4.6.ebuild +++ b/games-arcade/methane/methane-1.4.6.ebuild @@ -1,8 +1,8 @@ # Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-arcade/methane/methane-1.4.6.ebuild,v 1.8 2004/08/03 11:51:19 dholm Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-arcade/methane/methane-1.4.6.ebuild,v 1.9 2004/08/15 08:53:17 vapier Exp $ -inherit games +inherit games flag-o-matic DESCRIPTION="Port from an old amiga game" HOMEPAGE="http://www.methane.fsnet.co.uk/" @@ -18,10 +18,6 @@ RDEPEND="=dev-games/clanlib-0.6.5* DEPEND="${RDEPEND} >=sys-apps/sed-4" -pkg_setup() { - clanlib-config 0.6.5 -} - src_unpack() { unpack ${A} cd ${S}/source/linux @@ -29,11 +25,13 @@ src_unpack() { sed -i \ -e 's/^\(MIKMOD_LIBS\)/#\1/g' \ -e 's/^\(METHANE_FLAGS\)/#\1/g' makefile \ - || die "mikmod sed failed" + || die "mikmod sed failed" fi + sed -i "s:-lclanCore:-lclanCore -L${ROOT}/usr/lib/clanlib-0.6.5:" makefile } src_compile() { + append-flags -I${ROOT}/usr/include/clanlib-0.6.5 cd source/linux emake -j1 || die "emake failed" } @@ -42,7 +40,7 @@ src_install() { dogamesbin source/linux/methane || die "dogamesbin failed" dodir "${GAMES_STATEDIR}" touch "${D}/${GAMES_STATEDIR}/methanescores" - dodoc authors copying history install todo + dodoc authors history install todo dohtml ${S}/docs/* prepgamesdirs fperms g+w "${GAMES_STATEDIR}/methanescores" |