wok-next annotate openttd/receipt @ rev 21695
updated gob2 (2.0.17 -> 2.0.20)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Jun 30 15:37:32 2020 +0100 (2020-06-30) |
parents | 5669e8b3be70 |
children |
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@21087 | 14 BUILD_DEPENDS="sdl-dev lzo-dev zlib-dev libpng-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@21087 | 43 DEPENDS="sdl lzo zlib libpng icu" |
devl547@6024 | 44 } |