wok view airstrike/receipt @ rev 14225
freetype*: up 2.4.11; fontconfig*: up 2.10.91; add freetype-infinality* and fontconfig-infinality; gobject-introspection: up 1.32.1; gtk+3*: up 3.4.4; add gtk3-engine-solidity, gtk3-engine-unico; pixman*: up 0.28.2; add libxklavier, lightdm*; slitaz-i18n: add all existing translations.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Mar 21 16:18:40 2013 +0000 (2013-03-21) |
parents | |
children | 380ffe05937a |
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 TARBALL="$PACKAGE-$VERSION-src.tar.gz"
9 WEB_SITE="http://icculus.org/airstrike/"
10 WGET_URL="http://offload1.icculus.org:9090/$PACKAGE/$TARBALL"
12 DEPENDS="libsdl-image libsdl"
13 BUILD_DEPENDS="libsdl-image-dev libsdl-dev"
15 # Packaging for SliTaz by Rene Rivero.
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 sed -i 's/-lSDL_image/& -lm/' src/Makefile
22 sed -i 's|"airstrikerc"|"/usr/share/airstrike/airstrikerc"|' src/config.h
23 sed -i 's|"data/|"/usr/share/airstrike/data/|g' src/airstrike.c
24 make
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/bin $fs/usr/share/airstrike $fs/usr/share/applications
31 cp $src/airstrike $fs/usr/bin
32 cp -ar $src/data $src/airstrikerc $fs/usr/share/airstrike
33 sed -i 's|"data\"|"/usr/share/airstrike/data"|' $fs/usr/share/airstrike/airstrikerc
34 mkdir -p $fs/usr/share/applications
35 cp $stuff/airstrike.desktop $fs/usr/share/applications
36 chown -R root.root $fs
37 }