wok-6.x rev 22175
enigma is not broken
author | Hans-G?nter Theisgen |
---|---|
date | Fri Nov 08 17:15:11 2019 +0100 (2019-11-08) |
parents | 58715316ac9e |
children | 10fa26e4c60d |
files | enigma/receipt |
line diff
1.1 --- a/enigma/receipt Fri Nov 08 15:25:15 2019 +0100 1.2 +++ b/enigma/receipt Fri Nov 08 17:15:11 2019 +0100 1.3 @@ -4,26 +4,29 @@ 1.4 VERSION="1.01" 1.5 REVISION="r1914" 1.6 CATEGORY="games" 1.7 -SHORT_DESC="puzzle game similar to Oxyd" 1.8 +SHORT_DESC="Puzzle game similar to Oxyd." 1.9 MAINTAINER="devl547@gmail.com" 1.10 LICENSE="GPL2" 1.11 +WEB_SITE="https://www.nongnu.org/enigma/" 1.12 + 1.13 TARBALL="$PACKAGE-$VERSION-$REVISION.tar.gz" 1.14 -WEB_SITE="http://www.nongnu.org/enigma/" 1.15 WGET_URL="http://download.berlios.de/enigma-game/$TARBALL" 1.16 1.17 -DEPENDS="libsdl libsdl-ttf libsdl-mixer libsdl-image xerces-c" 1.18 -BUILD_DEPENDS="gettext libsdl-ttf-dev libsdl-mixer-dev libsdl-image-dev libsdl-dev xerces-c-dev" 1.19 +DEPENDS="libsdl libsdl-image libsdl-mixer libsdl-ttf xerces-c" 1.20 +BUILD_DEPENDS="gettext libsdl-dev libsdl-image-dev libsdl-mixer-dev 1.21 + libsdl-ttf-dev xerces-c-dev" 1.22 1.23 # Rules to configure and make the package. 1.24 compile_rules() 1.25 { 1.26 - cd $src 1.27 - sed -i 's/stdexcept>/&\n#include <stddef.h>/' lib-src/zipios++/src/directory.h 1.28 - sed -i 's/#ifndef.*/&\n#include <stddef.h>/' lib-src/enigma-core/ecl_dict.hh 1.29 - ./configure \ 1.30 - --build=$HOST_SYSTEM \ 1.31 - --host=$HOST_SYSTEM \ 1.32 - --enable-optimize 2>&1 | grep -v 'config.rpath: No such file' && 1.33 + sed -i 's/stdexcept>/&\n#include <stddef.h>/' \ 1.34 + lib-src/zipios++/src/directory.h 1.35 + sed -i 's/#ifndef.*/&\n#include <stddef.h>/' \ 1.36 + lib-src/enigma-core/ecl_dict.hh 1.37 + ./configure \ 1.38 + --build=$HOST_SYSTEM \ 1.39 + --host=$HOST_SYSTEM \ 1.40 + --enable-optimize 2>&1 | sed '/.*config.rpath.*No such file.*/d' && 1.41 make && 1.42 make DESTDIR=$DESTDIR install 1.43 } 1.44 @@ -32,7 +35,8 @@ 1.45 genpkg_rules() 1.46 { 1.47 mkdir -p $fs/usr/share 1.48 - cp -a $install/usr/bin $fs/usr 1.49 - cp -a $install/usr/lib $fs/usr 1.50 - cp -a $install/usr/share/enigma $fs/usr/share 1.51 + 1.52 + cp -a $install/usr/bin $fs/usr 1.53 + cp -a $install/usr/lib $fs/usr 1.54 + cp -a $install/usr/share/enigma $fs/usr/share 1.55 }