wok view frozen-bubble/receipt @ rev 24747
cairo: disabled trace
author | Hans-G?nter Theisgen |
---|---|
date | Wed Mar 16 15:54:50 2022 +0100 (2022-03-16) |
parents | 7b6f9ba5d688 |
children | c470ca10c896 |
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 # What is the latest version available today?
17 current_version()
18 {
19 wget -O - http://www.frozen-bubble.org/downloads/ 2>/dev/null | \
20 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;/beta/d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 cd $src
27 make OPTIMIZE="${CFLAGS}" \
28 CFLAGS="$(pkg-config glib-2.0 --cflags)" INSTALLDIRS=vendor \
29 PREFIX=/usr
30 make DESTDIR=$DESTDIR PREFIX=/usr install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr/share/pixmaps
37 cp -a $install/usr/bin $fs/usr
38 cp -a $install/usr/lib $fs/usr
39 cp -a $install/usr/share/frozen-bubble $fs/usr/share
40 # Hack to correct wrong *.pm install path
41 cp -a $fs/usr/lib/perl5/5.14.1/x86_64-linux/* \
42 $fs/usr/lib/perl5/5.14.1/i486-linux
43 rm -fr $fs/usr/lib/perl5/5.14.1/x86_64-linux
44 }