wok-next annotate frozen-bubble/receipt @ rev 18816
lxpanel: fix post_install (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Jan 15 17:18:19 2016 +0100 (2016-01-15) |
parents | 6b09507225ec |
children | d43bf7aae921 |
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 |
slaxemulator@7416 | 33 } |
slaxemulator@7416 | 34 |