wok view enigma/receipt @ rev 22175

enigma is not broken
author Hans-G?nter Theisgen
date Fri Nov 08 17:15:11 2019 +0100 (4 weeks ago)
parents fcdd50638150
children
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 LICENSE="GPL2"
10 WEB_SITE="https://www.nongnu.org/enigma/"
12 TARBALL="$PACKAGE-$VERSION-$REVISION.tar.gz"
13 WGET_URL="http://download.berlios.de/enigma-game/$TARBALL"
15 DEPENDS="libsdl libsdl-image libsdl-mixer libsdl-ttf xerces-c"
16 BUILD_DEPENDS="gettext libsdl-dev libsdl-image-dev libsdl-mixer-dev
17 libsdl-ttf-dev xerces-c-dev"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 sed -i 's/stdexcept>/&\n#include <stddef.h>/' \
23 lib-src/zipios++/src/directory.h
24 sed -i 's/#ifndef.*/&\n#include <stddef.h>/' \
25 lib-src/enigma-core/ecl_dict.hh
26 ./configure \
27 --build=$HOST_SYSTEM \
28 --host=$HOST_SYSTEM \
29 --enable-optimize 2>&1 | sed '/.*config.rpath.*No such file.*/d' &&
30 make &&
31 make DESTDIR=$DESTDIR install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p $fs/usr/share
39 cp -a $install/usr/bin $fs/usr
40 cp -a $install/usr/lib $fs/usr
41 cp -a $install/usr/share/enigma $fs/usr/share
42 }