wok-current annotate frozen-bubble/receipt @ rev 7929
Up: mono to 2.8.2.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Mon Jan 10 08:03:36 2011 +0000 (2011-01-10) |
parents | |
children | bb39c7073726 |
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" |
slaxemulator@7416 | 6 SHORT_DESC="A game in which you throw colorful bubbles and build groups to destroy the bubbles." |
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 |