wok-next view enigma/receipt @ rev 20615

Up cookutils (1050), glib-networking (2.54.1), gsettings-desktop-schemas (3.24.1), libsoup (2.60.3); add geoclue (2.4.7)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Apr 20 14:55:15 2018 +0300 (2018-04-20)
parents fcdd50638150
children f970ffe0add0
line source
1 # SliTaz package receipt.
3 PACKAGE="enigma"
4 VERSION="1.21"
5 REVISION="r2513"
6 CATEGORY="games"
7 SHORT_DESC="Puzzle game similar to Oxyd"
8 MAINTAINER="devl547@gmail.com"
9 LICENSE="GPL2"
10 WEB_SITE="http://www.nongnu.org/enigma/"
12 #TARBALL="$PACKAGE-$VERSION-$REVISION.tar.gz"
13 #WGET_URL="http://download.berlios.de/enigma-game/$TARBALL"
14 TARBALL="$PACKAGE-$VERSION.tar.gz"
15 WGET_URL="$SF_MIRROR/enigma-game/$TARBALL"
17 BUILD_DEPENDS="gettext libsdl-ttf-dev libsdl-mixer-dev libsdl-image-dev \
18 libsdl-dev xerces-c-dev"
20 compile_rules() {
21 sed -i 's/stdexcept>/&\n#include <stddef.h>/' lib-src/zipios++/src/directory.h
22 sed -i 's/#ifndef.*/&\n#include <stddef.h>/' lib-src/enigma-core/ecl_dict.hh
23 ./configure \
24 --enable-optimize \
25 CPPFLAGS="-I/usr/include/SDL" \
26 $CONFIGURE_ARGS &&
27 make &&
28 make DESTDIR=$DESTDIR install
29 }
31 genpkg_rules() {
32 copy @std
33 DEPENDS="libsdl libsdl-ttf libsdl-mixer libsdl-image xerces-c"
34 }