wok view frozen-bubble/receipt @ rev 25617

Up codec2 (1.2.0), libpri (1.6.1)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Aug 26 20:46:07 2023 +0000 (9 months ago)
parents c470ca10c896
children
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 WEB_SITE="http://www.frozen-bubble.org"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WGET_URL="https://github.com/kthakore/frozen-bubble/archive/refs/tags/$VERSION.tar.gz"
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 - ${WGET_URL%/arch*}/tags 2>/dev/null | \
20 sed '/tag\//!d;s|.*tag/v*||;s|".*||;q'
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 make OPTIMIZE="${CFLAGS}" \
27 CFLAGS="$(pkg-config glib-2.0 --cflags)" INSTALLDIRS=vendor \
28 PREFIX=/usr
29 make DESTDIR=$DESTDIR PREFIX=/usr install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr/share/pixmaps
36 cp -a $install/usr/bin $fs/usr
37 cp -a $install/usr/lib $fs/usr
38 cp -a $install/usr/share/frozen-bubble $fs/usr/share
39 # Hack to correct wrong *.pm install path
40 cp -a $fs/usr/lib/perl5/5.14.1/x86_64-linux/* \
41 $fs/usr/lib/perl5/5.14.1/i486-linux
42 rm -fr $fs/usr/lib/perl5/5.14.1/x86_64-linux
43 }