wok-next view supertux/receipt @ rev 20405

Follow BLFS Chapter 9 "General Libraries": up apr, apr-util, aspell, autoconf213 (for js), dbus-glib, enchant, exempi, fftw, glib, glibmm, gmime, gobject-introspection, gsl, js, libboost.

js is 39.7MB / 87.6MB now. Looks like it's proper time to kick off polkit (Hi, Xander! You was right.)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Thu Dec 07 17:39:40 2017 +0200 (2017-12-07)
parents d631e5730234
children a244e109372e
line source
1 # SliTaz package receipt v2.
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 BUILD_DEPENDS="libsdl-dev libsdl-image-dev libsdl-mixer-dev curl-dev \
15 physfs-dev openal-dev mesa-dev glew-dev cmake libboost-dev libvorbis-dev"
16 SPLIT="supertux-data"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 cp $stuff/menu.h src
22 sed -i 's|# include <curl/types.h>||g' src/addon/addon_manager.cpp
23 sed -i '1i#include <cstddef>' src/supertux/screen_manager.hpp
24 cmake -D CMAKE_INSTALL_PREFIX=/usr -D INSTALL_SUBDIR_BIN=bin .
25 make && make DESTDIR=$DESTDIR install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 case $PACKAGE in
32 supertux)
33 DEPENDS="libsdl libsdl-image libsdl-mixer curl physfs openal \
34 mesa glew supertux-data"
35 mkdir -p $fs/usr
36 cp -a $install/usr/bin $fs/usr
37 ;;
38 supertux-data)
39 CAT="games|data files"
40 echo Copying data...
41 mkdir -p $fs/usr/share
42 cp -a $install/usr/share/games $fs/usr/share
43 ;;
44 esac
45 }