blob: c7b52b2673e0166772d6134488d3b1e5a236012f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/games-arcade/xgalaga/xgalaga-2.0.34-r4.ebuild,v 1.3 2004/01/03 11:42:11 weeve Exp $
inherit eutils
DESCRIPTION="Galaga game clone."
HOMEPAGE="http://rumsey.org/xgal.html"
SRC_URI="http://http.us.debian.org/debian/pool/main/x/${PN}/${PN}_${PV}.orig.tar.gz
http://http.us.debian.org/debian/pool/main/x/${PN}/${PN}_${PV}-27.diff.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="x86 ppc alpha ~sparc"
DEPEND="virtual/x11"
src_unpack() {
unpack ${A} && cd "${S}"
epatch "${WORKDIR}/${PN}_${PV}-27.diff"
}
src_compile() {
econf --prefix=/usr/share/xgalaga --bindir=/usr/bin
emake CPPFLAGS="-D__NO_STRING_INLINES" || die "compile problem"
}
src_install () {
dobin xgalaga
dodoc README README.SOUND CHANGES COPYING INSTALL
insinto /usr/share/xgalaga/sounds
doins sounds/*.raw
insinto /usr/share/xgalaga/levels
doins levels/*.xgl
exeinto /usr/share/xgalaga
doexe xgal.sndsrv.linux
touch "${D}/usr/share/xgalaga/scores"
fperms 660 /usr/share/xgalaga/scores
fowners games:games /usr/share/xgalaga/scores
}
|