wok-current view supertux/receipt @ rev 13842
grub2: fix log output
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Jan 08 11:16:49 2013 +0100 (2013-01-08) |
parents | 62e8a8e12e45 |
children | 11579844d239 |
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@skyrock.com"
8 SUGGESTED="nvidia"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://supertux.lethargik.org/"
11 WGET_URL="http://supertux.googlecode.com/files/$TARBALL"
13 DEPENDS="libsdl libsdl-image libsdl-mixer curl physfs openal mesa glew \
14 supertux-data"
15 BUILD_DEPENDS="libsdl-dev libsdl-image-dev libsdl-mixer-dev curl-dev \
16 physfs-dev openal-dev mesa-dev glew-dev cmake libboost-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 cd $src
22 cp $stuff/menu.h src
23 sed -i 's|# include <curl/types.h>||g' src/addon/addon_manager.cpp
24 sed -i '1i#include <cstddef>' src/supertux/screen_manager.hpp
25 cmake -D CMAKE_INSTALL_PREFIX=/usr -D INSTALL_SUBDIR_BIN=bin .
26 make && make DESTDIR=$DESTDIR install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr
33 cp -a $install/usr/bin $fs/usr
34 }