wok view lincity-ng/receipt @ rev 21747

tazboot: spare 2k
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Jun 14 17:17:16 2019 +0200 (6 months ago)
parents 380ffe05937a
children
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="https://sourceforge.net/projects/lincity-ng.berlios/"
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 }