wok view enigma/receipt @ rev 10840

xlogo: Fixed source variable. Fixed also for purging sources.
author Christopher Rogers <slaxemulator@gmail.com>
date Thu Jun 09 11:52:00 2011 +0000 (2011-06-09)
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 }