wok-6.x annotate supertux/receipt @ rev 14836

xfce4-session: remove wrong trigger (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Jul 17 15:55:02 2013 +0200 (2013-07-17)
parents 6b09507225ec
children 2b9f96603415
rev   line source
mallory@2114 1 # SliTaz package receipt.
mallory@2114 2
mallory@2114 3 PACKAGE="supertux"
slaxemulator@7842 4 VERSION="0.3.3"
mallory@2114 5 CATEGORY="games"
mallory@2114 6 SHORT_DESC="SuperTux is a classic 2D jump'n run sidescroller game in a style similar to the original SuperMario games."
pascal@14277 7 MAINTAINER="mallory@sweetpeople.org"
jozee@5019 8 SUGGESTED="nvidia"
mallory@2114 9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
mallory@2114 10 WEB_SITE="http://supertux.lethargik.org/"
slaxemulator@11405 11 WGET_URL="http://supertux.googlecode.com/files/$TARBALL"
mallory@2114 12
pascal@13796 13 DEPENDS="libsdl libsdl-image libsdl-mixer curl physfs openal mesa glew \
pascal@13796 14 supertux-data"
pascal@13796 15 BUILD_DEPENDS="libsdl-dev libsdl-image-dev libsdl-mixer-dev curl-dev \
pascal@13796 16 physfs-dev openal-dev mesa-dev glew-dev cmake libboost-dev"
pascal@13796 17
mallory@2114 18 # Rules to configure and make the package.
mallory@2114 19 compile_rules()
mallory@2114 20 {
mallory@2114 21 cd $src
pascal@8974 22 cp $stuff/menu.h src
slaxemulator@11405 23 sed -i 's|# include <curl/types.h>||g' src/addon/addon_manager.cpp
slaxemulator@11405 24 sed -i '1i#include <cstddef>' src/supertux/screen_manager.hpp
slaxemulator@7842 25 cmake -D CMAKE_INSTALL_PREFIX=/usr -D INSTALL_SUBDIR_BIN=bin .
slaxemulator@11405 26 make && make DESTDIR=$DESTDIR install
mallory@2114 27 }
mallory@2114 28
mallory@2114 29 # Rules to gen a SliTaz package suitable for Tazpkg.
mallory@2114 30 genpkg_rules()
mallory@2114 31 {
mallory@2114 32 mkdir -p $fs/usr
pascal@13796 33 cp -a $install/usr/bin $fs/usr
mallory@2114 34 }