wok-current view supertux/receipt @ rev 24618

updated gphoto2 (2.5.23 -> 2.5.28)
author Hans-G?nter Theisgen
date Mon Mar 07 09:50:09 2022 +0100 (2022-03-07)
parents 2b9f96603415
children 0f92b8cc8086
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="http://supertux.googlecode.com/files/$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 }