wok-next view stfl/receipt @ rev 20806
I. node update: security -> https://nodejs.org/en/blog/vulnerability/june-2018-security-releases/ 9.5.0 -> 9.11.2 II. add checksum
author | Erkan Yilmaz <erkan@slitaz.org> |
---|---|
date | Wed Jun 13 08:26:54 2018 +0000 (2018-06-13) |
parents | e5a5af728c96 |
children | d5aab818505e |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="stfl"
4 VERSION="0.24"
5 CATEGORY="base-system"
6 SHORT_DESC="Structured Terminal Forms Language/Library"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="LGPL3"
9 WEB_SITE="http://www.clifford.at/stfl/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="$WEB_SITE$TARBALL"
14 BUILD_DEPENDS="ncurses-dev swig python-dev"
15 SPLIT="python-stfl stfl-dev"
17 compile_rules() {
18 sed -i 's|/usr/local|/usr|' Makefile.cfg
19 sed -i 's|ncursesw/ncurses.h|ncurses.h|' stfl_internals.h
20 sed -i 's|^include Makefile.deps|-&|' Makefile
22 make -j1 &&
23 make -j1 DESTDIR=$DESTDIR install
25 ln -s libstfl.so.$VERSION $install/usr/lib/libstfl.so.0
26 }
28 genpkg_rules() {
29 case $PACKAGE in
30 stfl)
31 copy libstfl.so*
32 DEPENDS="ncurses"
33 ;;
34 python-stfl)
35 copy python*/
36 CAT="development|Python bindings"
37 DEPENDS="ncurses python stfl"
38 ;;
39 *-dev)
40 copy @dev
41 DEPENDS="stfl stfl-python ncurses-dev"
42 ;;
43 esac
44 }