wok view enigma/receipt @ rev 15441
Up: eio (1.7.9)
author | Dominique Corbex <domcox@slitaz.org> |
---|---|
date | Tue Nov 05 20:57:45 2013 +0100 (2013-11-05) |
parents | 0d45377daa01 |
children | fcdd50638150 |
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 sed -i 's/stdexcept>/&\n#include <stddef.h>/' lib-src/zipios++/src/directory.h
21 sed -i 's/#ifndef.*/&\n#include <stddef.h>/' lib-src/enigma-core/ecl_dict.hh
22 ./configure \
23 --build=$HOST_SYSTEM \
24 --host=$HOST_SYSTEM \
25 --enable-optimize 2>&1 | grep -v 'config.rpath: No such file' &&
26 make &&
27 make DESTDIR=$DESTDIR install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/share
34 cp -a $_pkg/usr/bin $fs/usr
35 cp -a $_pkg/usr/lib $fs/usr
36 cp -a $_pkg/usr/share/enigma $fs/usr/share
37 }