wok-stable view supertux/receipt @ rev 9806

flac: fix stuff path
author Christophe Lincoln <pankso@slitaz.org>
date Sat May 14 22:46:14 2011 +0200 (2011-05-14)
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 }