wok annotate lincity-ng/receipt @ rev 16848

netsurf: rm # on sed
author Xander Ziiryanoff <psychomaniak@xakep.ru>
date Sun Jul 13 01:46:21 2014 +0300 (2014-07-13)
parents 6b09507225ec
children eeba7ab1dffe
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"
pascal@15000 8 LICENSE="GPL2"
slaxemulator@6567 9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
slaxemulator@6567 10 WEB_SITE="http://lincity-ng.berlios.de/wiki/index.php/Main_Page"
slaxemulator@6567 11 WGET_URL="http://download.berlios.de/$PACKAGE/$TARBALL"
slaxemulator@6567 12
pascal@13796 13 DEPENDS="mesa libxml2 physfs libsdl-gfx libsdl-image libsdl-mixer libsdl-ttf \
pascal@13796 14 libxcb"
pascal@13796 15 BUILD_DEPENDS="mesa-dev libxml2-dev libsdl-gfx-dev libsdl-image-dev \
pascal@13796 16 libsdl-mixer-dev libsdl-ttf libsdl-ttf-dev ftjam pkg-config physfs-dev"
pascal@13796 17
slaxemulator@6567 18 # Rules to configure and make the package.
slaxemulator@6567 19 compile_rules()
slaxemulator@6567 20 {
slaxemulator@6567 21 cd $src
slaxemulator@6567 22 ./configure \
slaxemulator@6567 23 --prefix=/usr \
slaxemulator@6567 24 --infodir=/usr/share/info \
slaxemulator@6567 25 --mandir=/usr/share/man \
slaxemulator@6567 26 $CONFIGURE_ARGS &&
slaxemulator@8874 27 jam && jam -sprefix=/usr install
slaxemulator@6567 28 }
slaxemulator@6567 29
slaxemulator@6567 30 # Rules to gen a SliTaz package suitable for Tazpkg.
slaxemulator@6567 31 genpkg_rules()
slaxemulator@6567 32 {
slaxemulator@6567 33 mkdir -p $fs/usr/share
pascal@13796 34 cp -a $install/usr/bin $fs/usr
pascal@13796 35 cp -a $install/usr/share/applications $fs/usr/share
pascal@13796 36 cp -a $install/usr/share/lincity-ng $fs/usr/share
pascal@13796 37 cp -a $install/usr/share/pixmaps $fs/usr/share
slaxemulator@6567 38 }
slaxemulator@6567 39