wok-6.x view supertux/receipt @ rev 13525
Up: bonobo, fixed: gtk+ headers
author | Alexander Medvedev <devl547@gmail.com> |
---|---|
date | Sat Oct 20 06:16:34 2012 +0000 (2012-10-20) |
parents | 940b5937e496 |
children | 6b09507225ec |
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 supertux-data"
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://supertux.googlecode.com/files/$TARBALL"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 cp $stuff/menu.h src
20 sed -i 's|# include <curl/types.h>||g' src/addon/addon_manager.cpp
21 sed -i '1i#include <cstddef>' src/supertux/screen_manager.hpp
22 cmake -D CMAKE_INSTALL_PREFIX=/usr -D INSTALL_SUBDIR_BIN=bin .
23 make && make DESTDIR=$DESTDIR install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr
30 cp -a $_pkg/usr/bin $fs/usr
31 }