# HG changeset patch # User Christopher Rogers # Date 1286500690 0 # Node ID ab1f2a0fdeb1bd3e0b8fe0991df5f17e90039482 # Parent 4d2596fce43d6358e19b32d05d146abffc56e219 Added lincity-ng. A City Simulation Game. diff -r 4d2596fce43d -r ab1f2a0fdeb1 lincity-ng/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/lincity-ng/receipt Fri Oct 08 01:18:10 2010 +0000 @@ -0,0 +1,36 @@ +# SliTaz package receipt. + +PACKAGE="lincity-ng" +VERSION="2.0" +CATEGORY="games" +SHORT_DESC="A City Simulation Game. It is a polished and improved version of the classic LinCity game." +MAINTAINER="slaxemulator@gmail.com" +DEPENDS="mesa libxml2 physfs libsdl-gfx libsdl-image libsdl-mixer libsdl-ttf libxcb" +BUILD_DEPENDS="mesa-dev libxml2-dev libsdl-gfx-dev libsdl-image-dev libsdl-mixer-dev libsdl-ttf libsdl-ttf-dev ftjam pkg-config" +TARBALL="$PACKAGE-$VERSION.tar.bz2" +WEB_SITE="http://lincity-ng.berlios.de/wiki/index.php/Main_Page" +WGET_URL="http://download.berlios.de/$PACKAGE/$TARBALL" + +# Rules to configure and make the package. +compile_rules() +{ + cd $src + m + ./configure \ + --prefix=/usr \ + --infodir=/usr/share/info \ + --mandir=/usr/share/man \ + $CONFIGURE_ARGS && + jam && jam -sprefix=$PWD/_pkg/usr install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/share + cp -a $_pkg/usr/bin $fs/usr + cp -a $_pkg/usr/share/applications $fs/usr/share + cp -a $_pkg/usr/share/lincity-ng $fs/usr/share + cp -a $_pkg/usr/share/pixmaps $fs/usr/share +} +