wok-next view supertux/receipt @ rev 21252

updated drbd-utils again (8.9.1 -> 9.11.0)
author Hans-G?nter Theisgen
date Fri Dec 06 09:01:32 2019 +0100 (2019-12-06)
parents d5aab818505e
children
line source
1 # SliTaz package receipt v2.
3 PACKAGE="supertux"
4 VERSION="0.3.3"
5 CATEGORY="games"
6 SHORT_DESC="Classic 2D jump'n run sidescroller game similar to SuperMario games"
7 MAINTAINER="devel@slitaz.org"
8 LICENSE="GPL3"
9 WEB_SITE="http://supertux.lethargik.org/"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WGET_URL="http://supertux.googlecode.com/files/$TARBALL"
14 BUILD_DEPENDS="sdl-dev sdl-image-dev sdl-mixer-dev curl-dev \
15 physfs-dev openal-dev mesa-dev glew-dev cmake boost-dev libvorbis-dev"
16 SPLIT="$PACKAGE-data"
18 compile_rules() {
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
23 cmake \
24 -DCMAKE_INSTALL_PREFIX=/usr \
25 -DINSTALL_SUBDIR_BIN=bin \
26 . &&
27 make &&
28 make DESTDIR=$install install
29 }
31 genpkg_rules() {
32 case $PACKAGE in
33 supertux)
34 copy bin/
35 DEPENDS="sdl sdl-image sdl-mixer curl physfs openal \
36 mesa glew supertux-data"
37 SUGGESTED="nvidia"
38 ;;
39 *-data)
40 copy games/
41 CAT="games|data files"
42 ;;
43 esac
44 }