wok-4.x view supertux/receipt @ rev 3752
perdition: fix init.d script
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Jul 23 20:44:21 2009 +0200 (2009-07-23) |
parents | e8024c01fc47 |
children | 4897058add72 |
line source
1 # SliTaz package receipt.
3 PACKAGE="supertux"
4 VERSION="0.1.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 "
9 BUILD_DEPENDS="libsdl-dev libsdl-image-dev libsdl-mixer-dev"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WEB_SITE="http://supertux.lethargik.org/"
12 WGET_URL="http://download.berlios.de/supertux/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 cp ../stuff/menu.h src
19 ./configure --prefix=/usr --infodir=/usr/share/info \
20 --mandir=/usr/share/man $CONFIGURE_ARGS && \
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 }