wok annotate supertux/receipt @ rev 13457

hostpad: add missing file
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Sun Oct 07 23:49:54 2012 +0200 (2012-10-07)
parents 940b5937e496
children 6b09507225ec
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."
mallory@2114 7 MAINTAINER="mallory@skyrock.com"
slaxemulator@11405 8 DEPENDS="libsdl libsdl-image libsdl-mixer curl physfs openal mesa glew supertux-data"
jozee@5019 9 SUGGESTED="nvidia"
slaxemulator@7842 10 BUILD_DEPENDS="libsdl-dev libsdl-image-dev libsdl-mixer-dev curl-dev physfs-dev openal-dev mesa-dev glew-dev cmake libboost-dev"
mallory@2114 11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
mallory@2114 12 WEB_SITE="http://supertux.lethargik.org/"
slaxemulator@11405 13 WGET_URL="http://supertux.googlecode.com/files/$TARBALL"
mallory@2114 14
mallory@2114 15 # Rules to configure and make the package.
mallory@2114 16 compile_rules()
mallory@2114 17 {
mallory@2114 18 cd $src
pascal@8974 19 cp $stuff/menu.h src
slaxemulator@11405 20 sed -i 's|# include <curl/types.h>||g' src/addon/addon_manager.cpp
slaxemulator@11405 21 sed -i '1i#include <cstddef>' src/supertux/screen_manager.hpp
slaxemulator@7842 22 cmake -D CMAKE_INSTALL_PREFIX=/usr -D INSTALL_SUBDIR_BIN=bin .
slaxemulator@11405 23 make && make DESTDIR=$DESTDIR install
mallory@2114 24 }
mallory@2114 25
mallory@2114 26 # Rules to gen a SliTaz package suitable for Tazpkg.
mallory@2114 27 genpkg_rules()
mallory@2114 28 {
mallory@2114 29 mkdir -p $fs/usr
mallory@2114 30 cp -a $_pkg/usr/bin $fs/usr
mallory@2114 31 }
mallory@2114 32