wok view enigma/receipt @ rev 10469

libgd: use hg to get source
author Christophe Lincoln <pankso@slitaz.org>
date Wed May 25 11:46:22 2011 +0200 (2011-05-25)
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 }