wok-current view frozen-bubble/receipt @ rev 14050
mapserver: add CFLAGS
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Feb 19 12:45:48 2013 +0100 (2013-02-19) |
parents | bb39c7073726 |
children | 408c87fa22ca |
line source
1 # SliTaz package receipt.
3 PACKAGE="frozen-bubble"
4 VERSION="2.2.0"
5 CATEGORY="games"
6 SHORT_DESC="A bubbles game"
7 MAINTAINER="slaxemulator@gmail.com"
8 TARBALL="$PACKAGE-$VERSION.tar.bz2"
9 WEB_SITE="http://www.frozen-bubble.org"
10 WGET_URL="$WEB_SITE/data/$TARBALL"
12 DEPENDS="perl-locale-gettext libsdl-mixer libsdl-pango libsdl-perl"
13 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"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 make OPTIMIZE="${CFLAGS}" \
20 CFLAGS="$(pkg-config glib-2.0 --cflags)" INSTALLDIRS=vendor \
21 PREFIX=/usr
22 make DESTDIR=$DESTDIR PREFIX=/usr install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr/share/pixmaps
29 cp -a $install/usr/bin $fs/usr
30 cp -a $install/usr/lib $fs/usr
31 cp -a $install/usr/share/frozen-bubble $fs/usr/share
32 }