wok-4.x view supertux/receipt @ rev 7674
Fixed linux. Need to make folder PWD/_pkg before adding bzImage to it. Also i'm force copying kernel config file now so we have the right config. It is copyed twice so its needed and doesn't hunt anything i think.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Thu Dec 16 17:16:06 2010 +0000 (2010-12-16) |
parents | 4897058add72 |
children | 8a32d9db2ad2 |
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 SUGGESTED="nvidia"
10 BUILD_DEPENDS="libsdl-dev libsdl-image-dev libsdl-mixer-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 ./configure --prefix=/usr --infodir=/usr/share/info \
21 --mandir=/usr/share/man $CONFIGURE_ARGS && \
22 make && make DESTDIR=$PWD/_pkg install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr
29 cp -a $_pkg/usr/bin $fs/usr
30 echo Copying data...
31 cp -a $_pkg/usr/share $fs/usr
32 }