wok-current diff frozen-bubble/receipt @ rev 11546

Add blogotext form wok-undigest
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Dec 25 15:18:50 2011 +0100 (2011-12-25)
parents
children bb39c7073726
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/frozen-bubble/receipt	Sun Dec 25 15:18:50 2011 +0100
     1.3 @@ -0,0 +1,32 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="frozen-bubble"
     1.7 +VERSION="2.2.0"
     1.8 +CATEGORY="games"
     1.9 +SHORT_DESC="A game in which you throw colorful bubbles and build groups to destroy the bubbles."
    1.10 +MAINTAINER="slaxemulator@gmail.com"
    1.11 +DEPENDS="perl-locale-gettext libsdl-mixer libsdl-pango libsdl-perl"
    1.12 +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"
    1.13 +TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.14 +WEB_SITE="http://www.frozen-bubble.org"
    1.15 +WGET_URL="$WEB_SITE/data/$TARBALL"
    1.16 +
    1.17 +# Rules to configure and make the package.
    1.18 +compile_rules()
    1.19 +{
    1.20 +	cd $src
    1.21 +	make OPTIMIZE="${CFLAGS}" \
    1.22 +		CFLAGS="$(pkg-config glib-2.0 --cflags)" INSTALLDIRS=vendor \
    1.23 +		PREFIX=/usr
    1.24 +	make DESTDIR=$PWD/_pkg PREFIX=/usr install
    1.25 +}
    1.26 +
    1.27 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.28 +genpkg_rules()
    1.29 +{
    1.30 +	mkdir -p $fs/usr/share/pixmaps
    1.31 +	cp -a $_pkg/usr/bin $fs/usr
    1.32 +	cp -a $_pkg/usr/lib $fs/usr
    1.33 +	cp -a $_pkg/usr/share/frozen-bubble $fs/usr/share
    1.34 +}
    1.35 +