wok-next view openttd/receipt @ rev 6640

Removed linux-headers as build_depends in acpid, ctags, kismet, and vpnc. Linux-headers is in slitaz-toolchain so it doesn't need to be depend on it directly.
author Christopher Rogers <slaxemulator@gmail.com>
date Sun Oct 10 15:15:08 2010 +0000 (2010-10-10)
parents 582342d4c006
children 3801a7ea712e
line source
1 # SliTaz package receipt.
3 PACKAGE="openttd"
4 VERSION="1.0.4"
5 CATEGORY="games"
6 SHORT_DESC="OpenTTD is a clone of Transport Tycoon Deluxe."
7 DEPENDS="libsdl lzo zlib libpng"
8 BUILD_DEPENDS="libsdl libsdl-dev lzo-dev zlib-dev libpng-dev"
9 MAINTAINER="devl547@gmail.com"
10 TARBALL="$PACKAGE-$VERSION-source.tar.bz2"
11 WEB_SITE="http://www.openttd.org"
12 WGET_URL="http://us.binaries.openttd.org/binaries/releases/$VERSION/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure \
19 --prefix-dir=/usr \
20 --binary-dir=/usr/games \
21 --man-dir=/usr/share/man \
22 --enable-strip \
23 --with-zlib \
24 --with-liblzo2 \
25 --with-png \
26 --with-sdl \
27 --without-freetype \
28 $CONFIGURE_ARGS &&
29 make
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr/share/pixmaps $fs/usr/share/applications $fs/usr/share/games/openttd $fs/usr/games
36 cp -a $src/bin/openttd $fs/usr/games
37 cp -a $src/bin/ai $fs/usr/share/games/openttd
38 cp -a $src/bin/data $fs/usr/share/games/openttd
39 cp -a $src/bin/gm $fs/usr/share/games/openttd
40 cp -a $src/bin/lang $fs/usr/share/games/openttd
41 cp -a $src/bin/scripts $fs/usr/share/games/openttd
42 cp $src/media/$PACKAGE.32.png $fs/usr/share/pixmaps
43 cp $src/media/$PACKAGE.desktop $fs/usr/share/applications
44 }