wok view supertux/receipt @ rev 13634

Up: eet (1.7.1)
author Christophe Lincoln <pankso@slitaz.org>
date Thu Nov 15 23:58:36 2012 +0100 (2012-11-15)
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 }