wok view lincity-ng/receipt @ rev 18583
Up slitaz-tools-boxes(958)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Nov 12 11:40:39 2015 +0200 (2015-11-12) |
parents | 6b09507225ec |
children | eeba7ab1dffe |
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 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://lincity-ng.berlios.de/wiki/index.php/Main_Page"
11 WGET_URL="http://download.berlios.de/$PACKAGE/$TARBALL"
13 DEPENDS="mesa libxml2 physfs libsdl-gfx libsdl-image libsdl-mixer libsdl-ttf \
14 libxcb"
15 BUILD_DEPENDS="mesa-dev libxml2-dev libsdl-gfx-dev libsdl-image-dev \
16 libsdl-mixer-dev libsdl-ttf libsdl-ttf-dev ftjam pkg-config physfs-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 cd $src
22 ./configure \
23 --prefix=/usr \
24 --infodir=/usr/share/info \
25 --mandir=/usr/share/man \
26 $CONFIGURE_ARGS &&
27 jam && jam -sprefix=/usr install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/share
34 cp -a $install/usr/bin $fs/usr
35 cp -a $install/usr/share/applications $fs/usr/share
36 cp -a $install/usr/share/lincity-ng $fs/usr/share
37 cp -a $install/usr/share/pixmaps $fs/usr/share
38 }