blob: 775b4d34bee8ce07d140f84cc920e28c741a326e (
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
|
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/games-arcade/frozen-bubble/frozen-bubble-1.0.0-r1.ebuild,v 1.1 2003/09/10 19:29:21 vapier Exp $
inherit perl-module
DESCRIPTION="A Puzzle Bubble clone written in perl"
HOMEPAGE="http://www.frozen-bubble.org/"
SRC_URI="http://guillaume.cottenceau.free.fr/fb/${P}.tar.bz2"
SLOT="0"
LICENSE="GPL-2"
KEYWORDS="x86 ppc"
DEPEND="virtual/glibc
>=sys-apps/sed-4
>=dev-lang/perl-5.6.1
>=media-libs/sdl-mixer-1.2.3
>=dev-perl/sdl-perl-1.19.0"
src_unpack() {
unpack ${A}
sed -i \
-e 's:INSTALLDIRS=.*:PREFIX=${D}/usr:' \
${P}/c_stuff/Makefile \
|| die 'sed c_stuff/Makefile failed'
}
src_compile() {
make OPTIMIZE="${CFLAGS}" PREFIX="/usr" || die
}
src_install() {
make PREFIX="${D}/usr" install || die
dosed /usr/bin/frozen-bubble
dodoc AUTHORS CHANGES COPYING README
}
|