wok-4.x view supertux/receipt @ rev 11013

Up: bazaar-tools to 2.4.1.
author Christopher Rogers <slaxemulator@gmail.com>
date Thu Oct 13 03:26:28 2011 +0000 (2011-10-13)
parents 8a32d9db2ad2
children 62e8a8e12e45
line source
1 # SliTaz package receipt.
3 PACKAGE="supertux"
4 VERSION="0.3.3"
5 CATEGORY="games"
6 SHORT_DESC="SuperTux is a classic 2D jump'n run sidescroller game in a style similar to the original SuperMario games."
7 MAINTAINER="mallory@skyrock.com"
8 DEPENDS="libsdl libsdl-image libsdl-mixer curl physfs openal mesa glew"
9 SUGGESTED="nvidia"
10 BUILD_DEPENDS="libsdl-dev libsdl-image-dev libsdl-mixer-dev curl-dev physfs-dev openal-dev mesa-dev glew-dev cmake libboost-dev"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WEB_SITE="http://supertux.lethargik.org/"
13 WGET_URL="http://download.berlios.de/supertux/$TARBALL"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 cp $stuff/menu.h src
20 cmake -D CMAKE_INSTALL_PREFIX=/usr -D INSTALL_SUBDIR_BIN=bin .
21 make && make DESTDIR=$PWD/_pkg install
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr
28 cp -a $_pkg/usr/bin $fs/usr
29 echo Copying data...
30 cp -a $_pkg/usr/share $fs/usr
31 }