wok-next view enigma/receipt @ rev 20938

Update MATE 1.20
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sun Aug 26 05:08:11 2018 +0300 (2018-08-26)
parents 14cdf41afa35
children d5aab818505e
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 curl-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 }