wok-6.x view openttd/receipt @ rev 17269
Add linux64-exofs
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Oct 24 10:25:36 2014 +0200 (2014-10-24) |
parents | 2d7fa39f074e |
children | eccaeaf682e4 |
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="http://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"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 ./configure \
21 --prefix-dir=/usr \
22 --binary-dir=/usr/games \
23 --man-dir=/usr/share/man \
24 --enable-strip \
25 --with-zlib \
26 --with-liblzo2 \
27 --with-png \
28 --with-sdl \
29 --without-freetype \
30 $CONFIGURE_ARGS &&
31 make
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p $fs/usr/share/pixmaps $fs/usr/share/applications $fs/usr/share/games/openttd $fs/usr/games
38 cp -a $src/bin/openttd $fs/usr/games
39 cp -a $src/bin/ai $fs/usr/share/games/openttd
40 cp -a $src/bin/data $fs/usr/share/games/openttd
41 cp -a $src/bin/gm $fs/usr/share/games/openttd
42 cp -a $src/bin/lang $fs/usr/share/games/openttd
43 cp -a $src/bin/scripts $fs/usr/share/games/openttd
44 cp $src/media/$PACKAGE.32.png $fs/usr/share/pixmaps
45 cp $src/media/$PACKAGE.desktop $fs/usr/share/applications
46 }