wok-next view enigma/receipt @ rev 21020
Cleaning is almost finished... I should proceed to upgrades.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Nov 02 14:15:08 2018 +0200 (2018-11-02) |
parents | f970ffe0add0 |
children | 0f2575775b2d |
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 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=$install install
29 }
31 genpkg_rules() {
32 copy @std
33 DEPENDS="libsdl libsdl-ttf libsdl-mixer libsdl-image xerces-c"
34 }