wok-6.x view lincity-ng/receipt @ rev 11765

up mtr (0.82) and added description
author Samuel Trassare <samuel_trassare@yahoo.com>
date Wed Feb 22 17:33:57 2012 -0800 (2012-02-22)
parents bd541fb2bef7
children 6b09507225ec
line source
1 # SliTaz package receipt.
3 PACKAGE="lincity-ng"
4 VERSION="2.0"
5 CATEGORY="games"
6 SHORT_DESC="A City Simulation Game. It is a polished and improved version of the classic LinCity game."
7 MAINTAINER="slaxemulator@gmail.com"
8 DEPENDS="mesa libxml2 physfs libsdl-gfx libsdl-image libsdl-mixer libsdl-ttf libxcb"
9 BUILD_DEPENDS="mesa-dev libxml2-dev libsdl-gfx-dev libsdl-image-dev \
10 libsdl-mixer-dev libsdl-ttf libsdl-ttf-dev ftjam pkg-config physfs-dev"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WEB_SITE="http://lincity-ng.berlios.de/wiki/index.php/Main_Page"
13 WGET_URL="http://download.berlios.de/$PACKAGE/$TARBALL"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 m
20 ./configure \
21 --prefix=/usr \
22 --infodir=/usr/share/info \
23 --mandir=/usr/share/man \
24 $CONFIGURE_ARGS &&
25 jam && jam -sprefix=/usr install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr/share
32 cp -a $_pkg/usr/bin $fs/usr
33 cp -a $_pkg/usr/share/applications $fs/usr/share
34 cp -a $_pkg/usr/share/lincity-ng $fs/usr/share
35 cp -a $_pkg/usr/share/pixmaps $fs/usr/share
36 }