wok annotate frozen-bubble/receipt @ rev 21136

link cream with libjpeg-9c
author Hans-G?nter Theisgen
date Thu Mar 21 16:56:04 2019 +0100 (2019-03-21)
parents 408c87fa22ca
children 2a0479881723
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
slaxemulator@7416 16 # Rules to configure and make the package.
slaxemulator@7416 17 compile_rules()
slaxemulator@7416 18 {
slaxemulator@7416 19 cd $src
slaxemulator@7416 20 make OPTIMIZE="${CFLAGS}" \
slaxemulator@7416 21 CFLAGS="$(pkg-config glib-2.0 --cflags)" INSTALLDIRS=vendor \
slaxemulator@7416 22 PREFIX=/usr
pascal@13796 23 make DESTDIR=$DESTDIR PREFIX=/usr install
slaxemulator@7416 24 }
slaxemulator@7416 25
slaxemulator@7416 26 # Rules to gen a SliTaz package suitable for Tazpkg.
slaxemulator@7416 27 genpkg_rules()
slaxemulator@7416 28 {
slaxemulator@7416 29 mkdir -p $fs/usr/share/pixmaps
pascal@13796 30 cp -a $install/usr/bin $fs/usr
pascal@13796 31 cp -a $install/usr/lib $fs/usr
pascal@13796 32 cp -a $install/usr/share/frozen-bubble $fs/usr/share
mojo@20501 33 # Hack to correct wrong *.pm install path
mojo@20501 34 cp -a $fs/usr/lib/perl5/5.14.1/x86_64-linux/* \
mojo@20501 35 $fs/usr/lib/perl5/5.14.1/i486-linux
mojo@20501 36 rm -fr $fs/usr/lib/perl5/5.14.1/x86_64-linux
slaxemulator@7416 37 }
slaxemulator@7416 38