wok-next view openttd/receipt @ rev 21078
Update png and Xorg in dependencies.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Dec 22 04:52:35 2018 +0200 (2018-12-22) |
parents | d5aab818505e |
children | 0f2575775b2d |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="openttd"
4 VERSION="1.7.1"
5 CATEGORY="games"
6 SHORT_DESC="Clone of Transport Tycoon Deluxe"
7 MAINTAINER="devl547@gmail.com"
8 LICENSE="GPL2"
9 WEB_SITE="http://www.openttd.org/en/"
11 TARBALL="$PACKAGE-$VERSION-source.tar.gz"
12 WGET_URL="http://us.binaries.openttd.org/binaries/releases/$VERSION/$TARBALL"
14 BUILD_DEPENDS="libsdl-dev lzo-dev zlib-dev libpng-dev xz-dev icu-dev"
16 compile_rules() {
17 ./configure \
18 --prefix-dir=/usr \
19 --binary-dir=/usr/games \
20 --man-dir=/usr/share/man \
21 --enable-strip \
22 --with-zlib \
23 --with-liblzo2 \
24 --with-png \
25 --with-sdl \
26 --without-freetype \
27 $CONFIGURE_ARGS &&
28 make || return 1
30 mkdir -p \
31 $install/usr/share/pixmaps \
32 $install/usr/share/applications \
33 $install/usr/share/games/openttd \
34 $install/usr/games
35 cp -a $src/bin/openttd $install/usr/games
36 cp -a $src/bin/*/ $install/usr/share/games/openttd
37 cp $src/media/$PACKAGE.32.png $install/usr/share/pixmaps
38 cp $src/media/$PACKAGE.desktop $install/usr/share/applications
39 }
41 genpkg_rules() {
42 copy @std
43 DEPENDS="libsdl lzo zlib libpng icu"
44 }