wok-next view stfl/receipt @ rev 18738

docbook-xsl-ns: fix build
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Dec 21 23:56:28 2015 +0100 (2015-12-21)
parents c881bf75f1ab
children e5a5af728c96
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 }