wok annotate airstrike/receipt @ rev 24030
updated get-teamviewer (1.00 -> 1.01)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Apr 05 10:50:45 2021 +0100 (2021-04-05) |
parents | 45507bfb2b0d |
children | 9af0e03b8ad0 |
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" |
al@19275 | 9 WEB_SITE="http://icculus.org/airstrike/" |
pascal@13226 | 10 TARBALL="$PACKAGE-$VERSION-src.tar.gz" |
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 sed -i 's/-lSDL_image/& -lm/' src/Makefile |
pascal@13226 | 22 sed -i 's|"airstrikerc"|"/usr/share/airstrike/airstrikerc"|' src/config.h |
pascal@13226 | 23 sed -i 's|"data/|"/usr/share/airstrike/data/|g' src/airstrike.c |
pascal@13226 | 24 make |
al@19264 | 25 |
al@19275 | 26 cook_pick_manpages $src/doc/airstrike.6 |
pascal@13226 | 27 } |
pascal@13226 | 28 |
pascal@13226 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@13226 | 30 genpkg_rules() |
pascal@13226 | 31 { |
pascal@13226 | 32 mkdir -p $fs/usr/bin $fs/usr/share/airstrike $fs/usr/share/applications |
pascal@13226 | 33 cp $src/airstrike $fs/usr/bin |
pascal@13226 | 34 cp -ar $src/data $src/airstrikerc $fs/usr/share/airstrike |
pascal@13226 | 35 sed -i 's|"data\"|"/usr/share/airstrike/data"|' $fs/usr/share/airstrike/airstrikerc |
pascal@13226 | 36 mkdir -p $fs/usr/share/applications |
pascal@13226 | 37 cp $stuff/airstrike.desktop $fs/usr/share/applications |
pascal@13226 | 38 chown -R root.root $fs |
pascal@13226 | 39 } |