wok-next annotate openttd/receipt @ rev 21020
Cleaning is almost finished... I should proceed to upgrades.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Nov 02 14:15:08 2018 +0200 (2018-11-02) |
parents | 9d604775ef23 |
children | 5669e8b3be70 |
rev | line source |
---|---|
al@20476 | 1 # SliTaz package receipt v2. |
devl547@6024 | 2 |
devl547@6024 | 3 PACKAGE="openttd" |
pascal@20335 | 4 VERSION="1.7.1" |
devl547@6024 | 5 CATEGORY="games" |
al@21020 | 6 SHORT_DESC="Clone of Transport Tycoon Deluxe" |
devl547@6024 | 7 MAINTAINER="devl547@gmail.com" |
pascal@15590 | 8 LICENSE="GPL2" |
al@21020 | 9 WEB_SITE="http://www.openttd.org/en/" |
al@20476 | 10 |
slaxemulator@10548 | 11 TARBALL="$PACKAGE-$VERSION-source.tar.gz" |
devl547@6024 | 12 WGET_URL="http://us.binaries.openttd.org/binaries/releases/$VERSION/$TARBALL" |
devl547@6024 | 13 |
al@20454 | 14 BUILD_DEPENDS="libsdl-dev lzo-dev zlib-dev libpng16-dev xz-dev icu-dev" |
pascal@15590 | 15 |
al@20476 | 16 compile_rules() { |
devl547@6024 | 17 ./configure \ |
devl547@6024 | 18 --prefix-dir=/usr \ |
devl547@6024 | 19 --binary-dir=/usr/games \ |
devl547@6024 | 20 --man-dir=/usr/share/man \ |
devl547@6024 | 21 --enable-strip \ |
devl547@6024 | 22 --with-zlib \ |
devl547@6024 | 23 --with-liblzo2 \ |
devl547@6024 | 24 --with-png \ |
devl547@6024 | 25 --with-sdl \ |
devl547@6024 | 26 --without-freetype \ |
devl547@6024 | 27 $CONFIGURE_ARGS && |
al@20476 | 28 make || return 1 |
al@20476 | 29 |
al@20476 | 30 mkdir -p \ |
al@20476 | 31 $install/usr/share/pixmaps \ |
al@20476 | 32 $install/usr/share/applications \ |
al@20476 | 33 $install/usr/share/games/openttd \ |
al@20476 | 34 $install/usr/games |
al@20476 | 35 cp -a $src/bin/openttd $install/usr/games |
al@20476 | 36 cp -a $src/bin/*/ $install/usr/share/games/openttd |
al@20476 | 37 cp $src/media/$PACKAGE.32.png $install/usr/share/pixmaps |
al@20476 | 38 cp $src/media/$PACKAGE.desktop $install/usr/share/applications |
devl547@6024 | 39 } |
devl547@6024 | 40 |
al@20476 | 41 genpkg_rules() { |
al@20476 | 42 copy @std |
al@20476 | 43 DEPENDS="libsdl lzo zlib libpng16 icu" |
devl547@6024 | 44 } |