wok-next view stfl/receipt @ rev 20402
Up seed (3.8.1) use webkitgtk instead of libwebkit; add cogl for clutter; up clutter (1.26.2) using mesa17 instead of mesa; up gnome-games using mesa17 instead of mix 'mesa & mesa17'
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Dec 05 17:49:11 2017 +0200 (2017-12-05) |
parents | 6602a4a78b5f |
children | c3a368c0cddb |
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="stfl-python stfl-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 sed -i 's|/usr/local|/usr|' Makefile.cfg
21 sed -i 's|ncursesw/ncurses.h|ncurses.h|' stfl_internals.h
22 sed -i 's|^include Makefile.deps|-&|' Makefile
24 make -j1 &&
25 make -j1 DESTDIR=$DESTDIR install
27 ln -s libstfl.so.$VERSION $install/usr/lib/libstfl.so.0
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 case $PACKAGE in
34 stfl)
35 copy libstfl.so*
36 DEPENDS="ncurses"
37 ;;
38 *-python)
39 copy python*/
40 DEPENDS="ncurses python"
41 ;;
42 *-dev)
43 copy @dev
44 DEPENDS="stfl stfl-python ncurses-dev"
45 ;;
46 esac
47 }