wok-current annotate enigma/receipt @ rev 22238
updated xorg-makedepend (1.0.4 -> 1.0.6)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Nov 12 09:08:19 2019 +0100 (2019-11-12) |
parents | fcdd50638150 |
children | 81e5fba70e83 |
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" |
Hans-G?nter@22175 | 7 SHORT_DESC="Puzzle game similar to Oxyd." |
devl547@5225 | 8 MAINTAINER="devl547@gmail.com" |
pascal@15588 | 9 LICENSE="GPL2" |
Hans-G?nter@22175 | 10 WEB_SITE="https://www.nongnu.org/enigma/" |
Hans-G?nter@22175 | 11 |
devl547@5225 | 12 TARBALL="$PACKAGE-$VERSION-$REVISION.tar.gz" |
devl547@5225 | 13 WGET_URL="http://download.berlios.de/enigma-game/$TARBALL" |
slaxemulator@10873 | 14 |
Hans-G?nter@22175 | 15 DEPENDS="libsdl libsdl-image libsdl-mixer libsdl-ttf xerces-c" |
Hans-G?nter@22175 | 16 BUILD_DEPENDS="gettext libsdl-dev libsdl-image-dev libsdl-mixer-dev |
Hans-G?nter@22175 | 17 libsdl-ttf-dev xerces-c-dev" |
devl547@5225 | 18 |
devl547@5225 | 19 # Rules to configure and make the package. |
devl547@5225 | 20 compile_rules() |
devl547@5225 | 21 { |
Hans-G?nter@22175 | 22 sed -i 's/stdexcept>/&\n#include <stddef.h>/' \ |
Hans-G?nter@22175 | 23 lib-src/zipios++/src/directory.h |
Hans-G?nter@22175 | 24 sed -i 's/#ifndef.*/&\n#include <stddef.h>/' \ |
Hans-G?nter@22175 | 25 lib-src/enigma-core/ecl_dict.hh |
Hans-G?nter@22175 | 26 ./configure \ |
Hans-G?nter@22175 | 27 --build=$HOST_SYSTEM \ |
Hans-G?nter@22175 | 28 --host=$HOST_SYSTEM \ |
Hans-G?nter@22175 | 29 --enable-optimize 2>&1 | sed '/.*config.rpath.*No such file.*/d' && |
devl547@5225 | 30 make && |
slaxemulator@10873 | 31 make DESTDIR=$DESTDIR install |
devl547@5225 | 32 } |
devl547@5225 | 33 |
devl547@5225 | 34 # Rules to gen a SliTaz package suitable for Tazpkg. |
devl547@5225 | 35 genpkg_rules() |
devl547@5225 | 36 { |
slaxemulator@10873 | 37 mkdir -p $fs/usr/share |
Hans-G?nter@22175 | 38 |
Hans-G?nter@22175 | 39 cp -a $install/usr/bin $fs/usr |
Hans-G?nter@22175 | 40 cp -a $install/usr/lib $fs/usr |
Hans-G?nter@22175 | 41 cp -a $install/usr/share/enigma $fs/usr/share |
devl547@5225 | 42 } |