wok-current annotate enigma/receipt @ rev 5417

xorg-libXtst-dev: add XTest.h
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue May 04 09:08:32 2010 +0200 (2010-05-04)
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 }