wok-6.x view supertux/receipt @ rev 14283
Add perl-fuse
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Apr 06 15:49:36 2013 +0200 (2013-04-06) |
parents | 6b09507225ec |
children | 2b9f96603415 |
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@sweetpeople.org"
8 SUGGESTED="nvidia"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://supertux.lethargik.org/"
11 WGET_URL="http://supertux.googlecode.com/files/$TARBALL"
13 DEPENDS="libsdl libsdl-image libsdl-mixer curl physfs openal mesa glew \
14 supertux-data"
15 BUILD_DEPENDS="libsdl-dev libsdl-image-dev libsdl-mixer-dev curl-dev \
16 physfs-dev openal-dev mesa-dev glew-dev cmake libboost-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 cd $src
22 cp $stuff/menu.h src
23 sed -i 's|# include <curl/types.h>||g' src/addon/addon_manager.cpp
24 sed -i '1i#include <cstddef>' src/supertux/screen_manager.hpp
25 cmake -D CMAKE_INSTALL_PREFIX=/usr -D INSTALL_SUBDIR_BIN=bin .
26 make && make DESTDIR=$DESTDIR install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr
33 cp -a $install/usr/bin $fs/usr
34 }