wok-current annotate frozen-bubble/receipt @ rev 14405
edbus-dev: update deps
author | Dominique Corbex <domcox@slitaz.org> |
---|---|
date | Tue Apr 23 18:26:59 2013 +0200 (2013-04-23) |
parents | bb39c7073726 |
children | 408c87fa22ca |
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" |
slaxemulator@7416 | 8 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
slaxemulator@7416 | 9 WEB_SITE="http://www.frozen-bubble.org" |
slaxemulator@7416 | 10 WGET_URL="$WEB_SITE/data/$TARBALL" |
slaxemulator@7416 | 11 |
pascal@13796 | 12 DEPENDS="perl-locale-gettext libsdl-mixer libsdl-pango libsdl-perl" |
pascal@13796 | 13 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 | 14 |
slaxemulator@7416 | 15 # Rules to configure and make the package. |
slaxemulator@7416 | 16 compile_rules() |
slaxemulator@7416 | 17 { |
slaxemulator@7416 | 18 cd $src |
slaxemulator@7416 | 19 make OPTIMIZE="${CFLAGS}" \ |
slaxemulator@7416 | 20 CFLAGS="$(pkg-config glib-2.0 --cflags)" INSTALLDIRS=vendor \ |
slaxemulator@7416 | 21 PREFIX=/usr |
pascal@13796 | 22 make DESTDIR=$DESTDIR PREFIX=/usr install |
slaxemulator@7416 | 23 } |
slaxemulator@7416 | 24 |
slaxemulator@7416 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@7416 | 26 genpkg_rules() |
slaxemulator@7416 | 27 { |
slaxemulator@7416 | 28 mkdir -p $fs/usr/share/pixmaps |
pascal@13796 | 29 cp -a $install/usr/bin $fs/usr |
pascal@13796 | 30 cp -a $install/usr/lib $fs/usr |
pascal@13796 | 31 cp -a $install/usr/share/frozen-bubble $fs/usr/share |
slaxemulator@7416 | 32 } |
slaxemulator@7416 | 33 |