wok-6.x view enigma/receipt @ rev 23963
Up curl (7.72.0)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Oct 02 10:34:57 2020 +0000 (2020-10-02) |
parents | 55af2ae5af8f |
children | 640a2eba2511 |
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 # Rules to configure and make the package.
20 compile_rules()
21 {
22 # sed -i 's/stdexcept>/&\n#include <stddef.h>/' \
23 # lib-src/zipios++/src/directory.h
24 # sed -i 's/#ifndef.*/&\n#include <stddef.h>/' \
25 # lib-src/enigma-core/ecl_dict.hh
27 ./configure \
28 --build=$HOST_SYSTEM \
29 --host=$HOST_SYSTEM \
30 --enable-optimize 2>&1 | sed '/.*config.rpath.*No such file.*/d' &&
31 make &&
32 make DESTDIR=$DESTDIR install
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 mkdir -p $fs/usr/share
40 cp -a $install/usr/bin $fs/usr
41 cp -a $install/usr/lib $fs/usr
42 cp -a $install/usr/share/enigma $fs/usr/share
43 }