wok view enigma/receipt @ rev 25371

updated tmux-mem-cpu-load (3.4.0 -> 3.6.0)
author Hans-G?nter Theisgen
date Fri Jul 29 14:34:07 2022 +0100 (2022-07-29)
parents 81e5fba70e83
children
line source
1 # SliTaz package receipt.
3 PACKAGE="enigma"
4 VERSION="1.21"
5 CATEGORY="games"
6 SHORT_DESC="Puzzle game similar to Oxyd."
7 MAINTAINER="devl547@gmail.com"
8 LICENSE="GPL2"
9 WEB_SITE="https://www.nongnu.org/enigma/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="$SF_MIRROR/$PACKAGE-game/$TARBALL"
14 DEPENDS="libsdl libsdl-image libsdl-mixer libsdl-ttf xerces-c"
15 BUILD_DEPENDS="curl-dev gettext imagemagick libsdl-dev libsdl-image-dev
16 libsdl-mixer-dev libsdl-ttf-dev xerces-c-dev"
17 # imagemagick for /usr/bin/convert only
19 # What is the latest version available today?
20 current_version()
21 {
22 wget -O - https://sourceforge.net/projects/enigma-game/files/ 2>/dev/null | \
23 sed '/scope="row/!d;s|.*elease%20||;s|/.*||;q'
24 }
26 # Rules to configure and make the package.
27 compile_rules()
28 {
29 # sed -i 's/stdexcept>/&\n#include <stddef.h>/' \
30 # lib-src/zipios++/src/directory.h
31 # sed -i 's/#ifndef.*/&\n#include <stddef.h>/' \
32 # lib-src/enigma-core/ecl_dict.hh
34 ./configure \
35 --build=$HOST_SYSTEM \
36 --host=$HOST_SYSTEM \
37 --enable-optimize 2>&1 | sed '/.*config.rpath.*No such file.*/d' &&
38 make &&
39 make DESTDIR=$DESTDIR install
40 }
42 # Rules to gen a SliTaz package suitable for Tazpkg.
43 genpkg_rules()
44 {
45 mkdir -p $fs/usr/share
47 cp -a $install/usr/bin $fs/usr
48 cp -a $install/usr/lib $fs/usr
49 cp -a $install/usr/share/enigma $fs/usr/share
50 }