wok-next view enigma/receipt @ rev 21397

opentyrian: add "glib" to bdeps for /usr/bin/glib-compile-schemas
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat Apr 18 17:26:44 2020 +0300 (2020-04-18)
parents d5aab818505e
children
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-dev sdl-ttf-dev sdl-mixer-dev sdl-image-dev \
18 sdl-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=$install install
29 }
31 genpkg_rules() {
32 copy @std
33 DEPENDS="sdl sdl-ttf sdl-mixer sdl-image xerces-c"
34 }