summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2004-08-15 08:53:17 +0000
committerMike Frysinger <vapier@gentoo.org>2004-08-15 08:53:17 +0000
commit786c587689464d8524ca0d0d43ae4843e6278eb7 (patch)
tree4a8b946ad6dc694989c76887ee6af8655f46cbfc /games-arcade/methane
parentSLOT 0.6.x but leave 0.7.x alone #52509 / #44258 (diff)
downloadhistorical-786c587689464d8524ca0d0d43ae4843e6278eb7.tar.gz
historical-786c587689464d8524ca0d0d43ae4843e6278eb7.tar.bz2
historical-786c587689464d8524ca0d0d43ae4843e6278eb7.zip
work with the new 0.6.5 install style
Diffstat (limited to 'games-arcade/methane')
-rw-r--r--games-arcade/methane/Manifest12
-rw-r--r--games-arcade/methane/methane-1.4.6.ebuild14
2 files changed, 17 insertions, 9 deletions
diff --git a/games-arcade/methane/Manifest b/games-arcade/methane/Manifest
index 103b02c79613..c798a5245627 100644
--- a/games-arcade/methane/Manifest
+++ b/games-arcade/methane/Manifest
@@ -1,4 +1,14 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+MD5 9cfcd3866bd1de703cb840d72b395690 methane-1.4.6.ebuild 1238
MD5 05277b6b5413ddac4619ecce2120354f ChangeLog 660
MD5 f17b9b8fa07a38914fe1c03268f51678 metadata.xml 158
-MD5 b722cba7b798f8e3cb9599e49c973257 methane-1.4.6.ebuild 1146
MD5 ffdf672029ba0ed33a110bfb664f21c0 files/digest-methane-1.4.6 57
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.9.10 (GNU/Linux)
+
+iD8DBQFBHyS5HTu7gpaalycRAgPlAJ0fls7ik0ImDMelhWTXgbsLW/F/XwCfaKxj
+S9uJvzNnSGi0EElfBYvzjYw=
+=RtG8
+-----END PGP SIGNATURE-----
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"