wok-next annotate supertux/receipt @ rev 3425
Update deps /libSDL/libsdl/
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sat Jun 13 12:19:10 2009 +0200 (2009-06-13) |
parents | 8c4a70e18847 |
children | 2c679ce49f4c |
rev | line source |
---|---|
mallory@2114 | 1 # SliTaz package receipt. |
mallory@2114 | 2 |
mallory@2114 | 3 PACKAGE="supertux" |
mallory@2114 | 4 VERSION="0.1.3" |
mallory@2114 | 5 CATEGORY="games" |
mallory@2114 | 6 SHORT_DESC="SuperTux is a classic 2D jump'n run sidescroller game in a style similar to the original SuperMario games." |
mallory@2114 | 7 MAINTAINER="mallory@skyrock.com" |
pankso@3425 | 8 DEPENDS="libsdl libsdl-image libsdl-mixer libiconv" |
pankso@3425 | 9 BUILD_DEPENDS="libsdl-dev libsdl-image-dev libsdl-mixer-dev" |
mallory@2114 | 10 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
mallory@2114 | 11 WEB_SITE="http://supertux.lethargik.org/" |
mallory@2114 | 12 WGET_URL="http://download.berlios.de/supertux/$TARBALL" |
mallory@2114 | 13 |
mallory@2114 | 14 # Rules to configure and make the package. |
mallory@2114 | 15 compile_rules() |
mallory@2114 | 16 { |
mallory@2114 | 17 cd $src |
mallory@2114 | 18 cp ../stuff/menu.h src |
mallory@2114 | 19 ./configure --prefix=/usr --infodir=/usr/share/info \ |
mallory@2114 | 20 --mandir=/usr/share/man $CONFIGURE_ARGS && \ |
mallory@2114 | 21 make && make DESTDIR=$PWD/_pkg install |
mallory@2114 | 22 } |
mallory@2114 | 23 |
mallory@2114 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
mallory@2114 | 25 genpkg_rules() |
mallory@2114 | 26 { |
mallory@2114 | 27 mkdir -p $fs/usr |
mallory@2114 | 28 cp -a $_pkg/usr/bin $fs/usr |
mallory@2114 | 29 echo Copying data... |
mallory@2114 | 30 cp -a $_pkg/usr/share $fs/usr |
mallory@2114 | 31 } |
mallory@2114 | 32 |