wok-next view stfl/receipt @ rev 21634
updated exiftool (11.17 -> 12.01)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Jun 26 10:45:57 2020 +0100 (2020-06-26) |
parents | c3a368c0cddb |
children |
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 $PACKAGE-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=$install 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 }