wok-next view lincity-ng/receipt @ rev 7812
Up: deadbeef to 0.4.4.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Fri Dec 24 19:40:40 2010 +0000 (2010-12-24) |
parents | |
children | bd541fb2bef7 |
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 libsdl-mixer-dev libsdl-ttf libsdl-ttf-dev ftjam pkg-config"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WEB_SITE="http://lincity-ng.berlios.de/wiki/index.php/Main_Page"
12 WGET_URL="http://download.berlios.de/$PACKAGE/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 m
19 ./configure \
20 --prefix=/usr \
21 --infodir=/usr/share/info \
22 --mandir=/usr/share/man \
23 $CONFIGURE_ARGS &&
24 jam && jam -sprefix=$PWD/_pkg/usr install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/share
31 cp -a $_pkg/usr/bin $fs/usr
32 cp -a $_pkg/usr/share/applications $fs/usr/share
33 cp -a $_pkg/usr/share/lincity-ng $fs/usr/share
34 cp -a $_pkg/usr/share/pixmaps $fs/usr/share
35 }