wok annotate frozen-bubble/receipt @ rev 13053

Up: php-* (5.4.4)
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Mon Jun 18 22:11:42 2012 +0200 (2012-06-18)
parents d5526dbd08c4
children 6b09507225ec
rev   line source
slaxemulator@7416 1 # SliTaz package receipt.
slaxemulator@7416 2
slaxemulator@7416 3 PACKAGE="frozen-bubble"
slaxemulator@7416 4 VERSION="2.2.0"
slaxemulator@7416 5 CATEGORY="games"
samuel_trassare@11982 6 SHORT_DESC="A bubbles game"
slaxemulator@7416 7 MAINTAINER="slaxemulator@gmail.com"
slaxemulator@7416 8 DEPENDS="perl-locale-gettext libsdl-mixer libsdl-pango libsdl-perl"
slaxemulator@7416 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"
slaxemulator@7416 10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
slaxemulator@7416 11 WEB_SITE="http://www.frozen-bubble.org"
slaxemulator@7416 12 WGET_URL="$WEB_SITE/data/$TARBALL"
slaxemulator@7416 13
slaxemulator@7416 14 # Rules to configure and make the package.
slaxemulator@7416 15 compile_rules()
slaxemulator@7416 16 {
slaxemulator@7416 17 cd $src
slaxemulator@7416 18 make OPTIMIZE="${CFLAGS}" \
slaxemulator@7416 19 CFLAGS="$(pkg-config glib-2.0 --cflags)" INSTALLDIRS=vendor \
slaxemulator@7416 20 PREFIX=/usr
slaxemulator@7416 21 make DESTDIR=$PWD/_pkg PREFIX=/usr install
slaxemulator@7416 22 }
slaxemulator@7416 23
slaxemulator@7416 24 # Rules to gen a SliTaz package suitable for Tazpkg.
slaxemulator@7416 25 genpkg_rules()
slaxemulator@7416 26 {
slaxemulator@7416 27 mkdir -p $fs/usr/share/pixmaps
slaxemulator@7416 28 cp -a $_pkg/usr/bin $fs/usr
slaxemulator@7416 29 cp -a $_pkg/usr/lib $fs/usr
slaxemulator@7416 30 cp -a $_pkg/usr/share/frozen-bubble $fs/usr/share
slaxemulator@7416 31 }
slaxemulator@7416 32