wok view supertux/receipt @ rev 25517

updated gvim 8.2 -> 9.0.0133
author Hans-G?nter Theisgen
date Thu Feb 23 10:53:50 2023 +0100 (21 months ago)
parents 934055de50e2
children b81ceff0b056
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="https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/$PACKAGE/$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 # What is the latest version available today?
20 current_version()
21 {
22 wget -O - http://supertux.github.io/index.html 2>/dev/null | \
23 sed '/SuperTux [0-9]/!d;s|.*SuperTux ||;s|<.*||;q'
24 }
26 # Rules to configure and make the package.
27 compile_rules()
28 {
29 cd $src
30 cp $stuff/menu.h src
31 sed -i 's|# include <curl/types.h>||g' src/addon/addon_manager.cpp
32 sed -i '1i#include <cstddef>' src/supertux/screen_manager.hpp
33 cmake -D CMAKE_INSTALL_PREFIX=/usr -D INSTALL_SUBDIR_BIN=bin .
34 make && make DESTDIR=$DESTDIR install
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
40 mkdir -p $fs/usr
41 cp -a $install/usr/bin $fs/usr
42 }