wok-next view stfl/receipt @ rev 21020

Cleaning is almost finished... I should proceed to upgrades.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Nov 02 14:15:08 2018 +0200 (2018-11-02)
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 }