wok-4.x view lincity-ng/receipt @ rev 9058
cndrvcups-common: do not compute _pkg
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Mar 04 11:54:05 2011 +0100 (2011-03-04) |
parents | ab1f2a0fdeb1 |
children | 19d12dc9acaa |
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=/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 }