wok-6.x view openttd/receipt @ rev 22510
updated astromenace again (1.3.2 -> 1.4.1)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Jan 01 15:19:37 2020 +0100 (2020-01-01) |
parents | eccaeaf682e4 |
children | 241fb98cab1c |
line source
1 # SliTaz package receipt.
3 PACKAGE="openttd"
4 VERSION="1.1.0"
5 CATEGORY="games"
6 SHORT_DESC="OpenTTD is a clone of Transport Tycoon Deluxe."
7 MAINTAINER="devl547@gmail.com"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION-source.tar.gz"
10 WEB_SITE="https://www.openttd.org"
11 WGET_URL="http://us.binaries.openttd.org/binaries/releases/$VERSION/$TARBALL"
13 DEPENDS="libsdl lzo zlib libpng icu"
14 BUILD_DEPENDS="libsdl-dev lzo-dev zlib-dev libpng-dev liblzma-dev icu-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 ./configure \
20 --prefix-dir=/usr \
21 --binary-dir=/usr/games \
22 --man-dir=/usr/share/man \
23 --enable-strip \
24 --with-zlib \
25 --with-liblzo2 \
26 --with-png \
27 --with-sdl \
28 --without-freetype \
29 $CONFIGURE_ARGS &&
30 make
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr/share/pixmaps $fs/usr/share/applications $fs/usr/share/games/openttd $fs/usr/games
37 cp -a $src/bin/openttd $fs/usr/games
38 cp -a $src/bin/ai $fs/usr/share/games/openttd
39 cp -a $src/bin/data $fs/usr/share/games/openttd
40 cp -a $src/bin/gm $fs/usr/share/games/openttd
41 cp -a $src/bin/lang $fs/usr/share/games/openttd
42 cp -a $src/bin/scripts $fs/usr/share/games/openttd
43 cp $src/media/$PACKAGE.32.png $fs/usr/share/pixmaps
44 cp $src/media/$PACKAGE.desktop $fs/usr/share/applications
45 }