wok view frozen-bubble/receipt @ rev 10908

mpd: add init script (thanks Mali)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Jul 26 11:44:53 2011 +0200 (2011-07-26)
parents
children bb39c7073726
line source
1 # SliTaz package receipt.
3 PACKAGE="frozen-bubble"
4 VERSION="2.2.0"
5 CATEGORY="games"
6 SHORT_DESC="A game in which you throw colorful bubbles and build groups to destroy the bubbles."
7 MAINTAINER="slaxemulator@gmail.com"
8 DEPENDS="perl-locale-gettext libsdl-mixer libsdl-pango libsdl-perl"
9 BUILD_DEPENDS="perl-locale-gettext gettext glib-dev libsdl-dev libsdl-gfx-dev libsdl-image-dev libsdl-net-dev freetype-dev libsdl-ttf-dev libsdl-mixer-dev libsdl-pango-dev libsmpeg-dev pkg-config libsdl-perl mesa-dev glibc-locale"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WEB_SITE="http://www.frozen-bubble.org"
12 WGET_URL="$WEB_SITE/data/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 make OPTIMIZE="${CFLAGS}" \
19 CFLAGS="$(pkg-config glib-2.0 --cflags)" INSTALLDIRS=vendor \
20 PREFIX=/usr
21 make DESTDIR=$PWD/_pkg PREFIX=/usr install
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr/share/pixmaps
28 cp -a $_pkg/usr/bin $fs/usr
29 cp -a $_pkg/usr/lib $fs/usr
30 cp -a $_pkg/usr/share/frozen-bubble $fs/usr/share
31 }