wok-next view lincity-ng/receipt @ rev 20249

lincity-ng: update deps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Nov 07 12:01:40 2017 +0100 (2017-11-07)
parents 380ffe05937a
children 7639f09792cf
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 \
17 libglu-mesa-dev"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 cd $src
23 ./configure \
24 --prefix=/usr \
25 --infodir=/usr/share/info \
26 --mandir=/usr/share/man \
27 $CONFIGURE_ARGS &&
28 jam && jam -sprefix=/usr install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr/share
35 cp -a $install/usr/bin $fs/usr
36 cp -a $install/usr/share/applications $fs/usr/share
37 cp -a $install/usr/share/lincity-ng $fs/usr/share
38 cp -a $install/usr/share/pixmaps $fs/usr/share
39 }