wok view frozen-bubble/receipt @ rev 22101

updated viewnior (1.6 -> 1.7)
author Hans-G?nter Theisgen
date Fri Nov 01 15:17:45 2019 +0100 (2019-11-01)
parents 408c87fa22ca
children 2a0479881723
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 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://www.frozen-bubble.org"
11 WGET_URL="$WEB_SITE/data/$TARBALL"
13 DEPENDS="perl-locale-gettext libsdl-mixer libsdl-pango libsdl-perl"
14 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"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 make OPTIMIZE="${CFLAGS}" \
21 CFLAGS="$(pkg-config glib-2.0 --cflags)" INSTALLDIRS=vendor \
22 PREFIX=/usr
23 make DESTDIR=$DESTDIR PREFIX=/usr install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr/share/pixmaps
30 cp -a $install/usr/bin $fs/usr
31 cp -a $install/usr/lib $fs/usr
32 cp -a $install/usr/share/frozen-bubble $fs/usr/share
33 # Hack to correct wrong *.pm install path
34 cp -a $fs/usr/lib/perl5/5.14.1/x86_64-linux/* \
35 $fs/usr/lib/perl5/5.14.1/i486-linux
36 rm -fr $fs/usr/lib/perl5/5.14.1/x86_64-linux
37 }