wok annotate supertux/receipt @ rev 15857

Up: audacious to 3.4.3.
author Christopher Rogers <slaxemulator@gmail.com>
date Wed Jan 29 20:09:33 2014 +0000 (2014-01-29)
parents 11579844d239
children 934055de50e2
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"
pascal@14999 8 LICENSE="GPL3"
jozee@5019 9 SUGGESTED="nvidia"
mallory@2114 10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
mallory@2114 11 WEB_SITE="http://supertux.lethargik.org/"
slaxemulator@11405 12 WGET_URL="http://supertux.googlecode.com/files/$TARBALL"
mallory@2114 13
pascal@13796 14 DEPENDS="libsdl libsdl-image libsdl-mixer curl physfs openal mesa glew \
pascal@13796 15 supertux-data"
pascal@13796 16 BUILD_DEPENDS="libsdl-dev libsdl-image-dev libsdl-mixer-dev curl-dev \
pascal@13796 17 physfs-dev openal-dev mesa-dev glew-dev cmake libboost-dev"
pascal@13796 18
mallory@2114 19 # Rules to configure and make the package.
mallory@2114 20 compile_rules()
mallory@2114 21 {
mallory@2114 22 cd $src
pascal@8974 23 cp $stuff/menu.h src
slaxemulator@11405 24 sed -i 's|# include <curl/types.h>||g' src/addon/addon_manager.cpp
slaxemulator@11405 25 sed -i '1i#include <cstddef>' src/supertux/screen_manager.hpp
slaxemulator@7842 26 cmake -D CMAKE_INSTALL_PREFIX=/usr -D INSTALL_SUBDIR_BIN=bin .
slaxemulator@11405 27 make && make DESTDIR=$DESTDIR install
mallory@2114 28 }
mallory@2114 29
mallory@2114 30 # Rules to gen a SliTaz package suitable for Tazpkg.
mallory@2114 31 genpkg_rules()
mallory@2114 32 {
mallory@2114 33 mkdir -p $fs/usr
pascal@13796 34 cp -a $install/usr/bin $fs/usr
mallory@2114 35 }