wok-next view enigma/receipt @ rev 21087
Updates...
Revert names: libsdl -> sdl, libsmpeg -> smpeg, libtdb -> tdb
Revert names: libsdl -> sdl, libsmpeg -> smpeg, libtdb -> tdb
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Dec 28 05:11:49 2018 +0200 (2018-12-28) |
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 }