wok-4.x annotate enigma/receipt @ rev 8133

Fix: mesa need lesstif & libxml2-python to compile
author Antoine Bodin <gokhlayeh@slitaz.org>
date Tue Jan 25 00:49:46 2011 +0100 (2011-01-25)
parents
children 0d45377daa01
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"
devl547@5225 12 BUILD_DEPENDS="gettext libsdl-ttf-dev libsdl-mixer-dev libsdl-image-dev libsdl-dev xerces-c-dev"
devl547@5225 13 DEPENDS="libsdl libsdl-ttf libsdl-mixer libsdl-image xerces-c"
devl547@5225 14
devl547@5225 15 # Rules to configure and make the package.
devl547@5225 16 compile_rules()
devl547@5225 17 {
devl547@5225 18 cd $src
devl547@5225 19 ./configure --prefix=/usr --infodir=/usr/share/info \
devl547@5225 20 --mandir=/usr/share/man $CONFIGURE_ARGS \
devl547@5225 21 --enable-optimize &&
devl547@5225 22 make &&
devl547@5225 23 make DESTDIR=$PWD/_pkg install
devl547@5225 24 }
devl547@5225 25
devl547@5225 26 # Rules to gen a SliTaz package suitable for Tazpkg.
devl547@5225 27 genpkg_rules()
devl547@5225 28 {
devl547@5225 29 mkdir -p $fs/usr
devl547@5225 30 cp -a $_pkg/usr/bin $fs/usr
devl547@5225 31 cp -a $_pkg/usr/lib $fs/usr
devl547@5225 32 cp -a $_pkg/usr/share $fs/usr
devl547@5225 33 }