wok-6.x annotate enigma/receipt @ rev 15303

enigma: remove a wrong error trigger
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Sep 27 12:42:14 2013 +0000 (2013-09-27)
parents 0d45377daa01
children fcdd50638150
rev   line source
devl547@5225 1 # SliTaz package receipt.
devl547@5225 2
devl547@5225 3 PACKAGE="enigma"
devl547@5225 4 VERSION="1.01"
devl547@5225 5 REVISION="r1914"
devl547@5225 6 CATEGORY="games"
devl547@5225 7 SHORT_DESC="puzzle game similar to Oxyd"
devl547@5225 8 MAINTAINER="devl547@gmail.com"
devl547@5225 9 TARBALL="$PACKAGE-$VERSION-$REVISION.tar.gz"
devl547@5225 10 WEB_SITE="http://www.nongnu.org/enigma/"
devl547@5225 11 WGET_URL="http://download.berlios.de/enigma-game/$TARBALL"
slaxemulator@10873 12
slaxemulator@10873 13 DEPENDS="libsdl libsdl-ttf libsdl-mixer libsdl-image xerces-c"
devl547@5225 14 BUILD_DEPENDS="gettext libsdl-ttf-dev libsdl-mixer-dev libsdl-image-dev libsdl-dev xerces-c-dev"
devl547@5225 15
devl547@5225 16 # Rules to configure and make the package.
devl547@5225 17 compile_rules()
devl547@5225 18 {
devl547@5225 19 cd $src
pascal@15303 20 sed -i 's/stdexcept>/&\n#include <stddef.h>/' lib-src/zipios++/src/directory.h
pascal@15303 21 sed -i 's/#ifndef.*/&\n#include <stddef.h>/' lib-src/enigma-core/ecl_dict.hh
slaxemulator@10873 22 ./configure \
slaxemulator@10873 23 --build=$HOST_SYSTEM \
slaxemulator@10873 24 --host=$HOST_SYSTEM \
pascal@15303 25 --enable-optimize 2>&1 | grep -v 'config.rpath: No such file' &&
devl547@5225 26 make &&
slaxemulator@10873 27 make DESTDIR=$DESTDIR install
devl547@5225 28 }
devl547@5225 29
devl547@5225 30 # Rules to gen a SliTaz package suitable for Tazpkg.
devl547@5225 31 genpkg_rules()
devl547@5225 32 {
slaxemulator@10873 33 mkdir -p $fs/usr/share
devl547@5225 34 cp -a $_pkg/usr/bin $fs/usr
devl547@5225 35 cp -a $_pkg/usr/lib $fs/usr
slaxemulator@10873 36 cp -a $_pkg/usr/share/enigma $fs/usr/share
devl547@5225 37 }