wok-next annotate supertux/receipt @ rev 10989
libdvdread: Compile with $CONFIGURE_ARGS.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Wed Oct 12 14:20:54 2011 +0000 (2011-10-12) |
parents | 8a32d9db2ad2 |
children | 62e8a8e12e45 |
rev | line source |
---|---|
mallory@2114 | 1 # SliTaz package receipt. |
mallory@2114 | 2 |
mallory@2114 | 3 PACKAGE="supertux" |
slaxemulator@7842 | 4 VERSION="0.3.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" |
slaxemulator@7842 | 8 DEPENDS="libsdl libsdl-image libsdl-mixer curl physfs openal mesa glew" |
jozee@5019 | 9 SUGGESTED="nvidia" |
slaxemulator@7842 | 10 BUILD_DEPENDS="libsdl-dev libsdl-image-dev libsdl-mixer-dev curl-dev physfs-dev openal-dev mesa-dev glew-dev cmake libboost-dev" |
mallory@2114 | 11 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
mallory@2114 | 12 WEB_SITE="http://supertux.lethargik.org/" |
mallory@2114 | 13 WGET_URL="http://download.berlios.de/supertux/$TARBALL" |
mallory@2114 | 14 |
mallory@2114 | 15 # Rules to configure and make the package. |
mallory@2114 | 16 compile_rules() |
mallory@2114 | 17 { |
mallory@2114 | 18 cd $src |
pascal@8974 | 19 cp $stuff/menu.h src |
slaxemulator@7842 | 20 cmake -D CMAKE_INSTALL_PREFIX=/usr -D INSTALL_SUBDIR_BIN=bin . |
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 |