wok-next annotate 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.)
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 |
rev | line source |
---|---|
pascal@20324 | 1 # SliTaz package receipt v2. |
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 BUILD_DEPENDS="libsdl-dev libsdl-image-dev libsdl-mixer-dev curl-dev \ |
pascal@20246 | 15 physfs-dev openal-dev mesa-dev glew-dev cmake libboost-dev libvorbis-dev" |
pascal@20324 | 16 SPLIT="supertux-data" |
pascal@13796 | 17 |
mallory@2114 | 18 # Rules to configure and make the package. |
mallory@2114 | 19 compile_rules() |
mallory@2114 | 20 { |
pascal@8974 | 21 cp $stuff/menu.h src |
slaxemulator@11405 | 22 sed -i 's|# include <curl/types.h>||g' src/addon/addon_manager.cpp |
slaxemulator@11405 | 23 sed -i '1i#include <cstddef>' src/supertux/screen_manager.hpp |
slaxemulator@7842 | 24 cmake -D CMAKE_INSTALL_PREFIX=/usr -D INSTALL_SUBDIR_BIN=bin . |
slaxemulator@11405 | 25 make && make DESTDIR=$DESTDIR install |
mallory@2114 | 26 } |
mallory@2114 | 27 |
mallory@2114 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
mallory@2114 | 29 genpkg_rules() |
mallory@2114 | 30 { |
pascal@20324 | 31 case $PACKAGE in |
pascal@20324 | 32 supertux) |
pascal@20324 | 33 DEPENDS="libsdl libsdl-image libsdl-mixer curl physfs openal \ |
pascal@20324 | 34 mesa glew supertux-data" |
pascal@20324 | 35 mkdir -p $fs/usr |
pascal@20324 | 36 cp -a $install/usr/bin $fs/usr |
pascal@20324 | 37 ;; |
pascal@20324 | 38 supertux-data) |
pascal@20324 | 39 CAT="games|data files" |
pascal@20324 | 40 echo Copying data... |
pascal@20324 | 41 mkdir -p $fs/usr/share |
pascal@20324 | 42 cp -a $install/usr/share/games $fs/usr/share |
pascal@20324 | 43 ;; |
pascal@20324 | 44 esac |
mallory@2114 | 45 } |