wok-current annotate frozen-bubble/receipt @ rev 24859
updated linuxdcpp (1.0.3 -> 1.1.0)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Mar 29 10:13:07 2022 +0100 (2022-03-29) |
parents | 7b6f9ba5d688 |
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 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
slaxemulator@7416 | 10 WEB_SITE="http://www.frozen-bubble.org" |
slaxemulator@7416 | 11 WGET_URL="$WEB_SITE/data/$TARBALL" |
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@24436 | 19 wget -O - http://www.frozen-bubble.org/downloads/ 2>/dev/null | \ |
pascal@24436 | 20 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;/beta/d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed 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 cd $src |
slaxemulator@7416 | 27 make OPTIMIZE="${CFLAGS}" \ |
slaxemulator@7416 | 28 CFLAGS="$(pkg-config glib-2.0 --cflags)" INSTALLDIRS=vendor \ |
slaxemulator@7416 | 29 PREFIX=/usr |
pascal@13796 | 30 make DESTDIR=$DESTDIR PREFIX=/usr install |
slaxemulator@7416 | 31 } |
slaxemulator@7416 | 32 |
slaxemulator@7416 | 33 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@7416 | 34 genpkg_rules() |
slaxemulator@7416 | 35 { |
slaxemulator@7416 | 36 mkdir -p $fs/usr/share/pixmaps |
pascal@13796 | 37 cp -a $install/usr/bin $fs/usr |
pascal@13796 | 38 cp -a $install/usr/lib $fs/usr |
pascal@13796 | 39 cp -a $install/usr/share/frozen-bubble $fs/usr/share |
mojo@20501 | 40 # Hack to correct wrong *.pm install path |
mojo@20501 | 41 cp -a $fs/usr/lib/perl5/5.14.1/x86_64-linux/* \ |
mojo@20501 | 42 $fs/usr/lib/perl5/5.14.1/i486-linux |
mojo@20501 | 43 rm -fr $fs/usr/lib/perl5/5.14.1/x86_64-linux |
slaxemulator@7416 | 44 } |
slaxemulator@7416 | 45 |