wok-current annotate airstrike/receipt @ rev 18575

fontconfig: add lcdfilter-default in /etc/fonts/conf.d
author Xander Ziiryanoff <psychomaniak@xakep.ru>
date Wed Nov 11 00:58:31 2015 +0100 (2015-11-11)
parents fe7c809fbd7a
children 45507bfb2b0d
rev   line source
pascal@13226 1 # SliTaz package receipt.
pascal@13226 2
pascal@13226 3 PACKAGE="airstrike"
pascal@13226 4 VERSION="pre6a"
pascal@13226 5 CATEGORY="games"
pascal@13226 6 SHORT_DESC="Juego batalla aerea."
pascal@13226 7 MAINTAINER="arca2@hotmail.com"
pascal@15000 8 LICENSE="GPL2"
pascal@13226 9 TARBALL="$PACKAGE-$VERSION-src.tar.gz"
pascal@13226 10 WEB_SITE="http://icculus.org/airstrike/"
pascal@13226 11 WGET_URL="http://offload1.icculus.org:9090/$PACKAGE/$TARBALL"
pascal@13226 12
pascal@13226 13 DEPENDS="libsdl-image libsdl"
pascal@13226 14 BUILD_DEPENDS="libsdl-image-dev libsdl-dev"
pascal@13226 15
pascal@13226 16 # Packaging for SliTaz by Rene Rivero.
pascal@13226 17
pascal@13226 18 # Rules to configure and make the package.
pascal@13226 19 compile_rules()
pascal@13226 20 {
pascal@13226 21 cd $src
pascal@13226 22 sed -i 's/-lSDL_image/& -lm/' src/Makefile
pascal@13226 23 sed -i 's|"airstrikerc"|"/usr/share/airstrike/airstrikerc"|' src/config.h
pascal@13226 24 sed -i 's|"data/|"/usr/share/airstrike/data/|g' src/airstrike.c
pascal@13226 25 make
pascal@13226 26 }
pascal@13226 27
pascal@13226 28 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@13226 29 genpkg_rules()
pascal@13226 30 {
pascal@13226 31 mkdir -p $fs/usr/bin $fs/usr/share/airstrike $fs/usr/share/applications
pascal@13226 32 cp $src/airstrike $fs/usr/bin
pascal@13226 33 cp -ar $src/data $src/airstrikerc $fs/usr/share/airstrike
pascal@13226 34 sed -i 's|"data\"|"/usr/share/airstrike/data"|' $fs/usr/share/airstrike/airstrikerc
pascal@13226 35 mkdir -p $fs/usr/share/applications
pascal@13226 36 cp $stuff/airstrike.desktop $fs/usr/share/applications
pascal@13226 37 chown -R root.root $fs
pascal@13226 38 }