wok-current view supertux/receipt @ rev 17907

Down tazusb
author Xander Ziiryanoff <psychomaniak@xakep.ru>
date Mon Apr 06 17:49:12 2015 +0200 (2015-04-06)
parents 11579844d239
children 934055de50e2
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 LICENSE="GPL3"
9 SUGGESTED="nvidia"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WEB_SITE="http://supertux.lethargik.org/"
12 WGET_URL="http://supertux.googlecode.com/files/$TARBALL"
14 DEPENDS="libsdl libsdl-image libsdl-mixer curl physfs openal mesa glew \
15 supertux-data"
16 BUILD_DEPENDS="libsdl-dev libsdl-image-dev libsdl-mixer-dev curl-dev \
17 physfs-dev openal-dev mesa-dev glew-dev cmake libboost-dev"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 cd $src
23 cp $stuff/menu.h src
24 sed -i 's|# include <curl/types.h>||g' src/addon/addon_manager.cpp
25 sed -i '1i#include <cstddef>' src/supertux/screen_manager.hpp
26 cmake -D CMAKE_INSTALL_PREFIX=/usr -D INSTALL_SUBDIR_BIN=bin .
27 make && make DESTDIR=$DESTDIR install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr
34 cp -a $install/usr/bin $fs/usr
35 }