diff options
author | Mike Frysinger <vapier@gentoo.org> | 2003-09-10 19:29:22 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2003-09-10 19:29:22 +0000 |
commit | f0759f77429dfcff11fdeb040d0553dd1e8e0bd8 (patch) | |
tree | bc451cfc4f19d245b0c6a7f10e547fdc2006db52 /games-arcade/xkobo/xkobo-1.11.ebuild | |
parent | action games ! (diff) | |
download | gentoo-2-f0759f77429dfcff11fdeb040d0553dd1e8e0bd8.tar.gz gentoo-2-f0759f77429dfcff11fdeb040d0553dd1e8e0bd8.tar.bz2 gentoo-2-f0759f77429dfcff11fdeb040d0553dd1e8e0bd8.zip |
arcade games !
Diffstat (limited to 'games-arcade/xkobo/xkobo-1.11.ebuild')
-rw-r--r-- | games-arcade/xkobo/xkobo-1.11.ebuild | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/games-arcade/xkobo/xkobo-1.11.ebuild b/games-arcade/xkobo/xkobo-1.11.ebuild new file mode 100644 index 000000000000..70a26e21746a --- /dev/null +++ b/games-arcade/xkobo/xkobo-1.11.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/games-arcade/xkobo/xkobo-1.11.ebuild,v 1.1 2003/09/10 19:29:22 vapier Exp $ + +inherit games + +MY_P="${P}+w01" +S="${WORKDIR}/${MY_P}" +DESCRIPTION="A fastpaced multiway scrolling shoot-em-up" +SRC_URI="http://www.redhead.dk/download/pub/Xkobo/${MY_P}.tar.gz" +HOMEPAGE="http://freshmeat.net/projects/xkobo/?topic_id=80" + +IUSE="" +KEYWORDS="x86" +LICENSE="GPL-2" +SLOT="0" + +DEPEND="virtual/glibc + virtual/x11 + >=sys-apps/sed-4" + +src_unpack() { + unpack ${A} + cd ${S} + sed -e "s:/usr/local/games/xkobo-scores:${GAMES_STATEDIR}/xkobo-scores:" xkobo.man > xkobo.6 || + die 'sed xkobo.man failed' + sed -i \ + -e "/HSCORE_DIR/ { s:/usr/local/games/xkobo-scores:${GAMES_STATEDIR}/xkobo-scores: }" Imakefile || + die 'sed Imakefile failed' + xmkmf -a || die "xmkmf failed" +} + +src_compile() { + emake \ + CXXOPTIONS="${CXXFLAGS}" \ + CDEBUGFLAGS="${CFLAGS}" \ + xkobo || die "emake failed" +} + +src_install() { + dogamesbin xkobo || die "dogamesbin failed" + doman xkobo.6 || die "doman failed" + keepdir ${GAMES_STATEDIR}/xkobo-scores || die "keepdir failed" + prepgamesdirs + fperms 2775 ${GAMES_STATEDIR}/xkobo-scores +} |