wok annotate enigma/receipt @ rev 23433

updated physfs and physfs-dev (3.0.1 -> 3.0.2)
author Hans-G?nter Theisgen
date Wed Apr 01 17:36:27 2020 +0100 (2020-04-01)
parents 55af2ae5af8f
children 640a2eba2511
rev   line source
devl547@5225 1 # SliTaz package receipt.
devl547@5225 2
devl547@5225 3 PACKAGE="enigma"
Hans-G?nter@22702 4 VERSION="1.21"
devl547@5225 5 CATEGORY="games"
Hans-G?nter@22175 6 SHORT_DESC="Puzzle game similar to Oxyd."
devl547@5225 7 MAINTAINER="devl547@gmail.com"
pascal@15588 8 LICENSE="GPL2"
Hans-G?nter@22175 9 WEB_SITE="https://www.nongnu.org/enigma/"
Hans-G?nter@22175 10
Hans-G?nter@22702 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
Hans-G?nter@22702 12 WGET_URL="$SF_MIRROR/$PACKAGE-game/$TARBALL"
slaxemulator@10873 13
Hans-G?nter@22175 14 DEPENDS="libsdl libsdl-image libsdl-mixer libsdl-ttf xerces-c"
Hans-G?nter@22702 15 BUILD_DEPENDS="curl-dev gettext imagemagick libsdl-dev libsdl-image-dev
Hans-G?nter@22702 16 libsdl-mixer-dev libsdl-ttf-dev xerces-c-dev"
Hans-G?nter@22702 17 # imagemagick for /usr/bin/convert only
devl547@5225 18
devl547@5225 19 # Rules to configure and make the package.
devl547@5225 20 compile_rules()
devl547@5225 21 {
Hans-G?nter@22702 22 # sed -i 's/stdexcept>/&\n#include <stddef.h>/' \
Hans-G?nter@22702 23 # lib-src/zipios++/src/directory.h
Hans-G?nter@22702 24 # sed -i 's/#ifndef.*/&\n#include <stddef.h>/' \
Hans-G?nter@22702 25 # lib-src/enigma-core/ecl_dict.hh
Hans-G?nter@22702 26
Hans-G?nter@22175 27 ./configure \
Hans-G?nter@22175 28 --build=$HOST_SYSTEM \
Hans-G?nter@22175 29 --host=$HOST_SYSTEM \
Hans-G?nter@22175 30 --enable-optimize 2>&1 | sed '/.*config.rpath.*No such file.*/d' &&
devl547@5225 31 make &&
slaxemulator@10873 32 make DESTDIR=$DESTDIR install
devl547@5225 33 }
devl547@5225 34
devl547@5225 35 # Rules to gen a SliTaz package suitable for Tazpkg.
devl547@5225 36 genpkg_rules()
devl547@5225 37 {
slaxemulator@10873 38 mkdir -p $fs/usr/share
Hans-G?nter@22175 39
Hans-G?nter@22175 40 cp -a $install/usr/bin $fs/usr
Hans-G?nter@22175 41 cp -a $install/usr/lib $fs/usr
Hans-G?nter@22175 42 cp -a $install/usr/share/enigma $fs/usr/share
devl547@5225 43 }