wok-6.x annotate stfl/receipt @ rev 18446

stfl: update bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Sep 26 14:29:56 2015 +0200 (2015-09-26)
parents 2f4c5bbdd625
children c881bf75f1ab
rev   line source
pascal@18444 1 # SliTaz package receipt.
pascal@18444 2
pascal@18444 3 PACKAGE="stfl"
pascal@18444 4 VERSION="0.24"
pascal@18444 5 CATEGORY="base-system"
pascal@18444 6 SHORT_DESC="Structured Terminal Forms Language/Library."
pascal@18444 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@18444 8 LICENSE="LGPL3"
pascal@18444 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@18444 10 WEB_SITE="http://www.clifford.at/stfl/"
pascal@18444 11 WGET_URL="$WEB_SITE$TARBALL"
pascal@18444 12
pascal@18446 13 BUILD_DEPENDS="ncursesw-dev swig python-dev"
pascal@18444 14
pascal@18444 15 # Rules to configure and make the package.
pascal@18444 16 compile_rules()
pascal@18444 17 {
pascal@18444 18 sed -i 's|/usr/local|/usr|' Makefile.cfg
pascal@18444 19 sed -i 's|ncursesw/ncurses.h|ncurses.h|' stfl_internals.h
pascal@18444 20 sed -i 's|^include Makefile.deps|-&|' Makefile
pascal@18444 21 make &&
pascal@18444 22 make DESTDIR=$DESTDIR install
pascal@18444 23 }
pascal@18444 24
pascal@18444 25 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@18444 26 genpkg_rules()
pascal@18444 27 {
pascal@18444 28 mkdir -p $fs/usr/lib
pascal@18444 29 cp -a $install/usr/lib/*.so* $fs/usr/lib
pascal@18444 30 }