wok view frozen-bubble/receipt @ rev 20782
added libtool to check build dependencies
author | Hans-G?nter Theisgen |
---|---|
date | Thu Feb 14 14:57:20 2019 +0100 (2019-02-14) |
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 }