wok-4.x view enigma/receipt @ rev 11457

libvalhalla: fix build
author Antoine Bodin <gokhlayeh@slitaz.org>
date Sat Dec 17 11:42:21 2011 +0100 (2011-12-17)
parents 54e674927b43
children
line source
1 # SliTaz package receipt.
3 PACKAGE="enigma"
4 VERSION="1.01"
5 REVISION="r1914"
6 CATEGORY="games"
7 SHORT_DESC="puzzle game similar to Oxyd"
8 MAINTAINER="devl547@gmail.com"
9 TARBALL="$PACKAGE-$VERSION-$REVISION.tar.gz"
10 WEB_SITE="http://www.nongnu.org/enigma/"
11 WGET_URL="http://download.berlios.de/enigma-game/$TARBALL"
13 DEPENDS="libsdl libsdl-ttf libsdl-mixer libsdl-image xerces-c"
14 BUILD_DEPENDS="gettext libsdl-ttf-dev libsdl-mixer-dev libsdl-image-dev libsdl-dev xerces-c-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 ./configure \
21 --build=$HOST_SYSTEM \
22 --host=$HOST_SYSTEM \
23 --enable-optimize &&
24 make &&
25 make DESTDIR=$DESTDIR install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr/share
32 cp -a $_pkg/usr/bin $fs/usr
33 cp -a $_pkg/usr/lib $fs/usr
34 cp -a $_pkg/usr/share/enigma $fs/usr/share
35 }