wok-next view openttd/receipt @ rev 20649
grub2-efi: remove duplicate modules (thanks alanyih)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri May 04 10:48:37 2018 +0200 (2018-05-04) |
parents | dd145c435e4b |
children | d5aab818505e |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="openttd"
4 VERSION="1.7.1"
5 CATEGORY="games"
6 SHORT_DESC="OpenTTD is a clone of Transport Tycoon Deluxe"
7 MAINTAINER="devl547@gmail.com"
8 LICENSE="GPL2"
9 WEB_SITE="http://www.openttd.org"
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 libpng16-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 libpng16 icu"
44 }