wok annotate openttd/receipt @ rev 19822
Add goffice-gtk2 (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Mar 02 21:14:52 2017 +0100 (2017-03-02) |
parents | 600aaedb561d |
children | be1594cae466 |
rev | line source |
---|---|
devl547@6024 | 1 # SliTaz package receipt. |
devl547@6024 | 2 |
devl547@6024 | 3 PACKAGE="openttd" |
slaxemulator@10224 | 4 VERSION="1.1.0" |
devl547@6024 | 5 CATEGORY="games" |
devl547@6024 | 6 SHORT_DESC="OpenTTD is a clone of Transport Tycoon Deluxe." |
devl547@6024 | 7 MAINTAINER="devl547@gmail.com" |
pascal@15590 | 8 LICENSE="GPL2" |
slaxemulator@10548 | 9 TARBALL="$PACKAGE-$VERSION-source.tar.gz" |
devl547@6024 | 10 WEB_SITE="http://www.openttd.org" |
devl547@6024 | 11 WGET_URL="http://us.binaries.openttd.org/binaries/releases/$VERSION/$TARBALL" |
devl547@6024 | 12 |
pascal@15590 | 13 DEPENDS="libsdl lzo zlib libpng icu" |
pascal@18407 | 14 BUILD_DEPENDS="libsdl-dev lzo-dev zlib-dev libpng-dev liblzma-dev icu-dev" |
pascal@15590 | 15 |
devl547@6024 | 16 # Rules to configure and make the package. |
devl547@6024 | 17 compile_rules() |
devl547@6024 | 18 { |
devl547@6024 | 19 ./configure \ |
devl547@6024 | 20 --prefix-dir=/usr \ |
devl547@6024 | 21 --binary-dir=/usr/games \ |
devl547@6024 | 22 --man-dir=/usr/share/man \ |
devl547@6024 | 23 --enable-strip \ |
devl547@6024 | 24 --with-zlib \ |
devl547@6024 | 25 --with-liblzo2 \ |
devl547@6024 | 26 --with-png \ |
devl547@6024 | 27 --with-sdl \ |
devl547@6024 | 28 --without-freetype \ |
devl547@6024 | 29 $CONFIGURE_ARGS && |
devl547@6024 | 30 make |
devl547@6024 | 31 } |
devl547@6024 | 32 |
devl547@6024 | 33 # Rules to gen a SliTaz package suitable for Tazpkg. |
devl547@6024 | 34 genpkg_rules() |
devl547@6024 | 35 { |
devl547@6024 | 36 mkdir -p $fs/usr/share/pixmaps $fs/usr/share/applications $fs/usr/share/games/openttd $fs/usr/games |
devl547@6024 | 37 cp -a $src/bin/openttd $fs/usr/games |
devl547@6024 | 38 cp -a $src/bin/ai $fs/usr/share/games/openttd |
devl547@6024 | 39 cp -a $src/bin/data $fs/usr/share/games/openttd |
devl547@6024 | 40 cp -a $src/bin/gm $fs/usr/share/games/openttd |
devl547@6024 | 41 cp -a $src/bin/lang $fs/usr/share/games/openttd |
devl547@6024 | 42 cp -a $src/bin/scripts $fs/usr/share/games/openttd |
devl547@6024 | 43 cp $src/media/$PACKAGE.32.png $fs/usr/share/pixmaps |
devl547@6024 | 44 cp $src/media/$PACKAGE.desktop $fs/usr/share/applications |
devl547@6024 | 45 } |