wok-6.x view openttd/receipt @ rev 21764
fake-sane: add pixma mp150
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Jun 27 22:27:24 2019 +0200 (2019-06-27) |
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 }