wok-next annotate lincity-ng/receipt @ rev 6567

Added lincity-ng. A City Simulation Game.
author Christopher Rogers <slaxemulator@gmail.com>
date Fri Oct 08 01:18:10 2010 +0000 (2010-10-08)
parents
children bd541fb2bef7
rev   line source
slaxemulator@6567 1 # SliTaz package receipt.
slaxemulator@6567 2
slaxemulator@6567 3 PACKAGE="lincity-ng"
slaxemulator@6567 4 VERSION="2.0"
slaxemulator@6567 5 CATEGORY="games"
slaxemulator@6567 6 SHORT_DESC="A City Simulation Game. It is a polished and improved version of the classic LinCity game."
slaxemulator@6567 7 MAINTAINER="slaxemulator@gmail.com"
slaxemulator@6567 8 DEPENDS="mesa libxml2 physfs libsdl-gfx libsdl-image libsdl-mixer libsdl-ttf libxcb"
slaxemulator@6567 9 BUILD_DEPENDS="mesa-dev libxml2-dev libsdl-gfx-dev libsdl-image-dev libsdl-mixer-dev libsdl-ttf libsdl-ttf-dev ftjam pkg-config"
slaxemulator@6567 10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
slaxemulator@6567 11 WEB_SITE="http://lincity-ng.berlios.de/wiki/index.php/Main_Page"
slaxemulator@6567 12 WGET_URL="http://download.berlios.de/$PACKAGE/$TARBALL"
slaxemulator@6567 13
slaxemulator@6567 14 # Rules to configure and make the package.
slaxemulator@6567 15 compile_rules()
slaxemulator@6567 16 {
slaxemulator@6567 17 cd $src
slaxemulator@6567 18 m
slaxemulator@6567 19 ./configure \
slaxemulator@6567 20 --prefix=/usr \
slaxemulator@6567 21 --infodir=/usr/share/info \
slaxemulator@6567 22 --mandir=/usr/share/man \
slaxemulator@6567 23 $CONFIGURE_ARGS &&
slaxemulator@6567 24 jam && jam -sprefix=$PWD/_pkg/usr install
slaxemulator@6567 25 }
slaxemulator@6567 26
slaxemulator@6567 27 # Rules to gen a SliTaz package suitable for Tazpkg.
slaxemulator@6567 28 genpkg_rules()
slaxemulator@6567 29 {
slaxemulator@6567 30 mkdir -p $fs/usr/share
slaxemulator@6567 31 cp -a $_pkg/usr/bin $fs/usr
slaxemulator@6567 32 cp -a $_pkg/usr/share/applications $fs/usr/share
slaxemulator@6567 33 cp -a $_pkg/usr/share/lincity-ng $fs/usr/share
slaxemulator@6567 34 cp -a $_pkg/usr/share/pixmaps $fs/usr/share
slaxemulator@6567 35 }
slaxemulator@6567 36