wok-6.x annotate lincity-ng/receipt @ rev 11951
Up: tazpkg 4.8.2
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Thu Mar 01 15:45:14 2012 +0100 (2012-03-01) |
parents | bd541fb2bef7 |
children | 6b09507225ec |
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" |
pascal@10534 | 9 BUILD_DEPENDS="mesa-dev libxml2-dev libsdl-gfx-dev libsdl-image-dev \ |
pascal@10534 | 10 libsdl-mixer-dev libsdl-ttf libsdl-ttf-dev ftjam pkg-config physfs-dev" |
slaxemulator@6567 | 11 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
slaxemulator@6567 | 12 WEB_SITE="http://lincity-ng.berlios.de/wiki/index.php/Main_Page" |
slaxemulator@6567 | 13 WGET_URL="http://download.berlios.de/$PACKAGE/$TARBALL" |
slaxemulator@6567 | 14 |
slaxemulator@6567 | 15 # Rules to configure and make the package. |
slaxemulator@6567 | 16 compile_rules() |
slaxemulator@6567 | 17 { |
slaxemulator@6567 | 18 cd $src |
slaxemulator@6567 | 19 m |
slaxemulator@6567 | 20 ./configure \ |
slaxemulator@6567 | 21 --prefix=/usr \ |
slaxemulator@6567 | 22 --infodir=/usr/share/info \ |
slaxemulator@6567 | 23 --mandir=/usr/share/man \ |
slaxemulator@6567 | 24 $CONFIGURE_ARGS && |
slaxemulator@8874 | 25 jam && jam -sprefix=/usr install |
slaxemulator@6567 | 26 } |
slaxemulator@6567 | 27 |
slaxemulator@6567 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@6567 | 29 genpkg_rules() |
slaxemulator@6567 | 30 { |
slaxemulator@6567 | 31 mkdir -p $fs/usr/share |
slaxemulator@6567 | 32 cp -a $_pkg/usr/bin $fs/usr |
slaxemulator@6567 | 33 cp -a $_pkg/usr/share/applications $fs/usr/share |
slaxemulator@6567 | 34 cp -a $_pkg/usr/share/lincity-ng $fs/usr/share |
slaxemulator@6567 | 35 cp -a $_pkg/usr/share/pixmaps $fs/usr/share |
slaxemulator@6567 | 36 } |
slaxemulator@6567 | 37 |