wok annotate mana/receipt @ rev 13207
Up collectd (5.1.0)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Aug 06 15:08:32 2012 +0200 (2012-08-06) |
parents | ea3283ffaffe |
children | 3765f181a6d5 |
rev | line source |
---|---|
pascal@11223 | 1 # SliTaz package receipt. |
pascal@11223 | 2 |
pascal@11223 | 3 PACKAGE="mana" |
pascal@11223 | 4 VERSION="1.0.0-beta" |
pascal@11223 | 5 CATEGORY="games" |
pascal@11223 | 6 SHORT_DESC="A fully free and open source MMORPG game with the looks of old-fashioned 2D RPG" |
pascal@11223 | 7 MAINTAINER="devl547@gmail.com" |
pascal@11223 | 8 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@11223 | 9 WEB_SITE="http://themanaworld.org/" |
pascal@11223 | 10 WGET_URL="http://manasource.org/files/$TARBALL" |
pascal@11223 | 11 BUILD_DEPENDS="physfs-dev libxml2-dev libsdl-mixer-dev libsdl-image-dev \ |
pascal@11223 | 12 libsdl-net-dev libsdl-ttf-dev libsdl-ttf curl-dev zlib-dev libpng-dev guichan-dev \ |
pascal@11223 | 13 libsdl-gfx-dev enet" |
pascal@11223 | 14 DEPENDS="ttf-dejavu physfs libxml2 libsdl-mixer libsdl-image libsdl-net \ |
pascal@11223 | 15 libsdl-ttf curl zlib libpng guichan libsdl-gfx" |
pascal@11223 | 16 |
pascal@11223 | 17 # Rules to configure and make the package. |
pascal@11223 | 18 compile_rules() |
pascal@11223 | 19 { |
pascal@11223 | 20 cd $src |
gokhlayeh@11573 | 21 ./configure --prefix=/usr --without-opengl $CONFIGURE_ARGS && |
pascal@11223 | 22 make && |
pascal@11223 | 23 make DESTDIR=$PWD/_pkg install |
pascal@11223 | 24 } |
pascal@11223 | 25 |
pascal@11223 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@11223 | 27 genpkg_rules() |
pascal@11223 | 28 { |
pascal@11223 | 29 mkdir -p $fs/usr/share |
pascal@11223 | 30 cp -a $_pkg/usr/bin $fs/usr |
pascal@11223 | 31 cp -a $_pkg/usr/share/applications $fs/usr/share/ |
pascal@11223 | 32 cp -a $_pkg/usr/share/mana $fs/usr/share/ |
pascal@11223 | 33 cp -a $_pkg/usr/share/pixmaps $fs/usr/share/ |
pascal@11223 | 34 } |