wok-next annotate enigma/receipt @ rev 20682

Remove aspell-* dictionary packages; add aspell-dicts: receipt produces different packages with different versions (require cookutils >= 1057)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri May 18 12:53:47 2018 +0300 (2018-05-18)
parents fcdd50638150
children f970ffe0add0
rev   line source
devl547@5225 1 # SliTaz package receipt.
devl547@5225 2
devl547@5225 3 PACKAGE="enigma"
al@20498 4 VERSION="1.21"
al@20498 5 REVISION="r2513"
devl547@5225 6 CATEGORY="games"
al@20498 7 SHORT_DESC="Puzzle game similar to Oxyd"
devl547@5225 8 MAINTAINER="devl547@gmail.com"
pascal@15588 9 LICENSE="GPL2"
devl547@5225 10 WEB_SITE="http://www.nongnu.org/enigma/"
slaxemulator@10873 11
al@20498 12 #TARBALL="$PACKAGE-$VERSION-$REVISION.tar.gz"
al@20498 13 #WGET_URL="http://download.berlios.de/enigma-game/$TARBALL"
al@20498 14 TARBALL="$PACKAGE-$VERSION.tar.gz"
al@20498 15 WGET_URL="$SF_MIRROR/enigma-game/$TARBALL"
devl547@5225 16
al@20498 17 BUILD_DEPENDS="gettext libsdl-ttf-dev libsdl-mixer-dev libsdl-image-dev \
al@20498 18 libsdl-dev xerces-c-dev"
al@20498 19
al@20498 20 compile_rules() {
pascal@15303 21 sed -i 's/stdexcept>/&\n#include <stddef.h>/' lib-src/zipios++/src/directory.h
pascal@15303 22 sed -i 's/#ifndef.*/&\n#include <stddef.h>/' lib-src/enigma-core/ecl_dict.hh
slaxemulator@10873 23 ./configure \
al@20498 24 --enable-optimize \
al@20498 25 CPPFLAGS="-I/usr/include/SDL" \
al@20498 26 $CONFIGURE_ARGS &&
devl547@5225 27 make &&
slaxemulator@10873 28 make DESTDIR=$DESTDIR install
devl547@5225 29 }
devl547@5225 30
al@20498 31 genpkg_rules() {
al@20498 32 copy @std
al@20498 33 DEPENDS="libsdl libsdl-ttf libsdl-mixer libsdl-image xerces-c"
devl547@5225 34 }