wok-6.x view stfl/receipt @ rev 20846
updated directfb-dev again (1.4.3 -> 1.7.7)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Feb 21 14:07:35 2019 +0100 (2019-02-21) |
parents | c881bf75f1ab |
children | ad8b9ff412d2 |
line source
1 # SliTaz package receipt.
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 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://www.clifford.at/stfl/"
11 WGET_URL="$WEB_SITE$TARBALL"
13 BUILD_DEPENDS="ncursesw-dev swig python-dev"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
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
21 make -j 1 &&
22 make -j 1 DESTDIR=$DESTDIR install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr/lib
29 cp -a $install/usr/lib/*.so* $fs/usr/lib
30 lib=$(cd $fs/usr/lib ; echo *.so.*.*)
31 [ -e $fs/usr/lib/${lib%.*} ] ||
32 ln -s $lib $fs/usr/lib/${lib%.*}
33 }