wok-next view airstrike/receipt @ rev 17948
mtpaint: up (3.44.91), remove XPM icons substitutions (using original icons).
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Apr 16 02:24:03 2015 +0300 (2015-04-16) |
parents | fe7c809fbd7a |
children | 45507bfb2b0d |
line source
1 # SliTaz package receipt.
3 PACKAGE="airstrike"
4 VERSION="pre6a"
5 CATEGORY="games"
6 SHORT_DESC="Juego batalla aerea."
7 MAINTAINER="arca2@hotmail.com"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION-src.tar.gz"
10 WEB_SITE="http://icculus.org/airstrike/"
11 WGET_URL="http://offload1.icculus.org:9090/$PACKAGE/$TARBALL"
13 DEPENDS="libsdl-image libsdl"
14 BUILD_DEPENDS="libsdl-image-dev libsdl-dev"
16 # Packaging for SliTaz by Rene Rivero.
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 cd $src
22 sed -i 's/-lSDL_image/& -lm/' src/Makefile
23 sed -i 's|"airstrikerc"|"/usr/share/airstrike/airstrikerc"|' src/config.h
24 sed -i 's|"data/|"/usr/share/airstrike/data/|g' src/airstrike.c
25 make
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr/bin $fs/usr/share/airstrike $fs/usr/share/applications
32 cp $src/airstrike $fs/usr/bin
33 cp -ar $src/data $src/airstrikerc $fs/usr/share/airstrike
34 sed -i 's|"data\"|"/usr/share/airstrike/data"|' $fs/usr/share/airstrike/airstrikerc
35 mkdir -p $fs/usr/share/applications
36 cp $stuff/airstrike.desktop $fs/usr/share/applications
37 chown -R root.root $fs
38 }