wok-next diff 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
line diff
     1.1 --- a/enigma/receipt	Mon Dec 02 16:43:36 2013 +0000
     1.2 +++ b/enigma/receipt	Fri May 18 12:53:47 2018 +0300
     1.3 @@ -1,38 +1,34 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="enigma"
     1.7 -VERSION="1.01"
     1.8 -REVISION="r1914"
     1.9 +VERSION="1.21"
    1.10 +REVISION="r2513"
    1.11  CATEGORY="games"
    1.12 -SHORT_DESC="puzzle game similar to Oxyd"
    1.13 +SHORT_DESC="Puzzle game similar to Oxyd"
    1.14  MAINTAINER="devl547@gmail.com"
    1.15  LICENSE="GPL2"
    1.16 -TARBALL="$PACKAGE-$VERSION-$REVISION.tar.gz"
    1.17  WEB_SITE="http://www.nongnu.org/enigma/"
    1.18 -WGET_URL="http://download.berlios.de/enigma-game/$TARBALL"
    1.19  
    1.20 -DEPENDS="libsdl libsdl-ttf libsdl-mixer libsdl-image xerces-c"
    1.21 -BUILD_DEPENDS="gettext libsdl-ttf-dev libsdl-mixer-dev libsdl-image-dev libsdl-dev xerces-c-dev"
    1.22 +#TARBALL="$PACKAGE-$VERSION-$REVISION.tar.gz"
    1.23 +#WGET_URL="http://download.berlios.de/enigma-game/$TARBALL"
    1.24 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.25 +WGET_URL="$SF_MIRROR/enigma-game/$TARBALL"
    1.26  
    1.27 -# Rules to configure and make the package.
    1.28 -compile_rules()
    1.29 -{
    1.30 -	cd $src
    1.31 +BUILD_DEPENDS="gettext libsdl-ttf-dev libsdl-mixer-dev libsdl-image-dev \
    1.32 +libsdl-dev xerces-c-dev"
    1.33 +
    1.34 +compile_rules() {
    1.35  	sed -i 's/stdexcept>/&\n#include <stddef.h>/' lib-src/zipios++/src/directory.h
    1.36  	sed -i 's/#ifndef.*/&\n#include <stddef.h>/' lib-src/enigma-core/ecl_dict.hh
    1.37  	./configure \
    1.38 -		--build=$HOST_SYSTEM \
    1.39 -		--host=$HOST_SYSTEM \
    1.40 -		--enable-optimize 2>&1 | grep -v 'config.rpath: No such file' &&
    1.41 +		--enable-optimize \
    1.42 +		CPPFLAGS="-I/usr/include/SDL" \
    1.43 +		$CONFIGURE_ARGS &&
    1.44  	make &&
    1.45  	make DESTDIR=$DESTDIR install
    1.46  }
    1.47  
    1.48 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.49 -genpkg_rules()
    1.50 -{
    1.51 -	mkdir -p $fs/usr/share
    1.52 -	cp -a $install/usr/bin $fs/usr
    1.53 -	cp -a $install/usr/lib $fs/usr
    1.54 -	cp -a $install/usr/share/enigma $fs/usr/share
    1.55 +genpkg_rules() {
    1.56 +	copy @std
    1.57 +	DEPENDS="libsdl libsdl-ttf libsdl-mixer libsdl-image xerces-c"
    1.58  }