wok-current annotate enigma/receipt @ rev 12571
parcellite: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Apr 28 20:04:52 2012 +0200 (2012-04-28) |
parents | 54e674927b43 |
children | 842dd79348e3 |
rev | line source |
---|---|
devl547@5225 | 1 # SliTaz package receipt. |
devl547@5225 | 2 |
devl547@5225 | 3 PACKAGE="enigma" |
devl547@5225 | 4 VERSION="1.01" |
devl547@5225 | 5 REVISION="r1914" |
devl547@5225 | 6 CATEGORY="games" |
devl547@5225 | 7 SHORT_DESC="puzzle game similar to Oxyd" |
devl547@5225 | 8 MAINTAINER="devl547@gmail.com" |
devl547@5225 | 9 TARBALL="$PACKAGE-$VERSION-$REVISION.tar.gz" |
devl547@5225 | 10 WEB_SITE="http://www.nongnu.org/enigma/" |
devl547@5225 | 11 WGET_URL="http://download.berlios.de/enigma-game/$TARBALL" |
slaxemulator@10873 | 12 |
slaxemulator@10873 | 13 DEPENDS="libsdl libsdl-ttf libsdl-mixer libsdl-image xerces-c" |
devl547@5225 | 14 BUILD_DEPENDS="gettext libsdl-ttf-dev libsdl-mixer-dev libsdl-image-dev libsdl-dev xerces-c-dev" |
devl547@5225 | 15 |
devl547@5225 | 16 # Rules to configure and make the package. |
devl547@5225 | 17 compile_rules() |
devl547@5225 | 18 { |
devl547@5225 | 19 cd $src |
slaxemulator@10873 | 20 ./configure \ |
slaxemulator@10873 | 21 --build=$HOST_SYSTEM \ |
slaxemulator@10873 | 22 --host=$HOST_SYSTEM \ |
slaxemulator@10873 | 23 --enable-optimize && |
devl547@5225 | 24 make && |
slaxemulator@10873 | 25 make DESTDIR=$DESTDIR install |
devl547@5225 | 26 } |
devl547@5225 | 27 |
devl547@5225 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
devl547@5225 | 29 genpkg_rules() |
devl547@5225 | 30 { |
slaxemulator@10873 | 31 mkdir -p $fs/usr/share |
devl547@5225 | 32 cp -a $_pkg/usr/bin $fs/usr |
devl547@5225 | 33 cp -a $_pkg/usr/lib $fs/usr |
slaxemulator@10873 | 34 cp -a $_pkg/usr/share/enigma $fs/usr/share |
devl547@5225 | 35 } |