wok-6.x annotate enigma/receipt @ rev 19092
Add brower-html5 virtual package (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun May 01 10:46:33 2016 +0200 (2016-05-01) |
parents | 842dd79348e3 |
children | 55af2ae5af8f |
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" |
pascal@15588 | 9 LICENSE="GPL2" |
devl547@5225 | 10 TARBALL="$PACKAGE-$VERSION-$REVISION.tar.gz" |
devl547@5225 | 11 WEB_SITE="http://www.nongnu.org/enigma/" |
devl547@5225 | 12 WGET_URL="http://download.berlios.de/enigma-game/$TARBALL" |
slaxemulator@10873 | 13 |
slaxemulator@10873 | 14 DEPENDS="libsdl libsdl-ttf libsdl-mixer libsdl-image xerces-c" |
devl547@5225 | 15 BUILD_DEPENDS="gettext libsdl-ttf-dev libsdl-mixer-dev libsdl-image-dev libsdl-dev xerces-c-dev" |
devl547@5225 | 16 |
devl547@5225 | 17 # Rules to configure and make the package. |
devl547@5225 | 18 compile_rules() |
devl547@5225 | 19 { |
devl547@5225 | 20 cd $src |
pascal@15303 | 21 sed -i 's/stdexcept>/&\n#include <stddef.h>/' lib-src/zipios++/src/directory.h |
pascal@15303 | 22 sed -i 's/#ifndef.*/&\n#include <stddef.h>/' lib-src/enigma-core/ecl_dict.hh |
slaxemulator@10873 | 23 ./configure \ |
slaxemulator@10873 | 24 --build=$HOST_SYSTEM \ |
slaxemulator@10873 | 25 --host=$HOST_SYSTEM \ |
pascal@15303 | 26 --enable-optimize 2>&1 | grep -v 'config.rpath: No such file' && |
devl547@5225 | 27 make && |
slaxemulator@10873 | 28 make DESTDIR=$DESTDIR install |
devl547@5225 | 29 } |
devl547@5225 | 30 |
devl547@5225 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
devl547@5225 | 32 genpkg_rules() |
devl547@5225 | 33 { |
slaxemulator@10873 | 34 mkdir -p $fs/usr/share |
pascal@15588 | 35 cp -a $install/usr/bin $fs/usr |
pascal@15588 | 36 cp -a $install/usr/lib $fs/usr |
pascal@15588 | 37 cp -a $install/usr/share/enigma $fs/usr/share |
devl547@5225 | 38 } |