wok-current view enigma/receipt @ rev 8181

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