wok annotate lincity-ng/receipt @ rev 14318
Up webkit-r (147865)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Apr 07 16:12:59 2013 +0200 (2013-04-07) |
parents | 19d12dc9acaa |
children | 380ffe05937a |
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 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
slaxemulator@6567 | 9 WEB_SITE="http://lincity-ng.berlios.de/wiki/index.php/Main_Page" |
slaxemulator@6567 | 10 WGET_URL="http://download.berlios.de/$PACKAGE/$TARBALL" |
slaxemulator@6567 | 11 |
pascal@13796 | 12 DEPENDS="mesa libxml2 physfs libsdl-gfx libsdl-image libsdl-mixer libsdl-ttf \ |
pascal@13796 | 13 libxcb" |
pascal@13796 | 14 BUILD_DEPENDS="mesa-dev libxml2-dev libsdl-gfx-dev libsdl-image-dev \ |
pascal@13796 | 15 libsdl-mixer-dev libsdl-ttf libsdl-ttf-dev ftjam pkg-config physfs-dev" |
pascal@13796 | 16 |
slaxemulator@6567 | 17 # Rules to configure and make the package. |
slaxemulator@6567 | 18 compile_rules() |
slaxemulator@6567 | 19 { |
slaxemulator@6567 | 20 cd $src |
slaxemulator@6567 | 21 ./configure \ |
slaxemulator@6567 | 22 --prefix=/usr \ |
slaxemulator@6567 | 23 --infodir=/usr/share/info \ |
slaxemulator@6567 | 24 --mandir=/usr/share/man \ |
slaxemulator@6567 | 25 $CONFIGURE_ARGS && |
slaxemulator@8874 | 26 jam && jam -sprefix=/usr install |
slaxemulator@6567 | 27 } |
slaxemulator@6567 | 28 |
slaxemulator@6567 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@6567 | 30 genpkg_rules() |
slaxemulator@6567 | 31 { |
slaxemulator@6567 | 32 mkdir -p $fs/usr/share |
pascal@13796 | 33 cp -a $install/usr/bin $fs/usr |
pascal@13796 | 34 cp -a $install/usr/share/applications $fs/usr/share |
pascal@13796 | 35 cp -a $install/usr/share/lincity-ng $fs/usr/share |
pascal@13796 | 36 cp -a $install/usr/share/pixmaps $fs/usr/share |
slaxemulator@6567 | 37 } |
slaxemulator@6567 | 38 |