wok annotate frozen-bubble/receipt @ rev 25641
Fix miss gogglesmm app icon for menu
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Sun Jan 07 10:30:54 2024 +0100 (10 months ago) |
parents | c470ca10c896 |
children |
rev | line source |
---|---|
slaxemulator@7416 | 1 # SliTaz package receipt. |
slaxemulator@7416 | 2 |
slaxemulator@7416 | 3 PACKAGE="frozen-bubble" |
slaxemulator@7416 | 4 VERSION="2.2.0" |
slaxemulator@7416 | 5 CATEGORY="games" |
samuel_trassare@11982 | 6 SHORT_DESC="A bubbles game" |
slaxemulator@7416 | 7 MAINTAINER="slaxemulator@gmail.com" |
pascal@15001 | 8 LICENSE="GPL2" |
slaxemulator@7416 | 9 WEB_SITE="http://www.frozen-bubble.org" |
pascal@25617 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@25617 | 11 WGET_URL="https://github.com/kthakore/frozen-bubble/archive/refs/tags/$VERSION.tar.gz" |
slaxemulator@7416 | 12 |
pascal@13796 | 13 DEPENDS="perl-locale-gettext libsdl-mixer libsdl-pango libsdl-perl" |
pascal@13796 | 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" |
pascal@13796 | 15 |
pascal@24436 | 16 # What is the latest version available today? |
pascal@24436 | 17 current_version() |
pascal@24436 | 18 { |
pascal@25617 | 19 wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \ |
pascal@25617 | 20 sed '/tag\//!d;s|.*tag/v*||;s|".*||;q' |
pascal@24436 | 21 } |
pascal@24436 | 22 |
slaxemulator@7416 | 23 # Rules to configure and make the package. |
slaxemulator@7416 | 24 compile_rules() |
slaxemulator@7416 | 25 { |
slaxemulator@7416 | 26 make OPTIMIZE="${CFLAGS}" \ |
slaxemulator@7416 | 27 CFLAGS="$(pkg-config glib-2.0 --cflags)" INSTALLDIRS=vendor \ |
slaxemulator@7416 | 28 PREFIX=/usr |
pascal@13796 | 29 make DESTDIR=$DESTDIR PREFIX=/usr install |
slaxemulator@7416 | 30 } |
slaxemulator@7416 | 31 |
slaxemulator@7416 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@7416 | 33 genpkg_rules() |
slaxemulator@7416 | 34 { |
slaxemulator@7416 | 35 mkdir -p $fs/usr/share/pixmaps |
pascal@13796 | 36 cp -a $install/usr/bin $fs/usr |
pascal@13796 | 37 cp -a $install/usr/lib $fs/usr |
pascal@13796 | 38 cp -a $install/usr/share/frozen-bubble $fs/usr/share |
mojo@20501 | 39 # Hack to correct wrong *.pm install path |
mojo@20501 | 40 cp -a $fs/usr/lib/perl5/5.14.1/x86_64-linux/* \ |
mojo@20501 | 41 $fs/usr/lib/perl5/5.14.1/i486-linux |
mojo@20501 | 42 rm -fr $fs/usr/lib/perl5/5.14.1/x86_64-linux |
slaxemulator@7416 | 43 } |
slaxemulator@7416 | 44 |