wok-current rev 18444

Add stfl
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Sep 26 14:04:09 2015 +0200 (2015-09-26)
parents 5446046a1c29
children 26f4ea03da32
files python-stfl/receipt stfl-dev/receipt stfl/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/python-stfl/receipt	Sat Sep 26 14:04:09 2015 +0200
     1.3 @@ -0,0 +1,19 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="python-stfl"
     1.7 +VERSION="0.24"
     1.8 +CATEGORY="development"
     1.9 +SHORT_DESC="Python bindings for tne Structured Terminal Forms Language/Library."
    1.10 +MAINTAINER="pascal.bellard@slitaz.org"
    1.11 +LICENSE="LGPL3"
    1.12 +WEB_SITE="http://www.clifford.at/stfl/"
    1.13 +WANTED="stfl"
    1.14 +
    1.15 +DEPENDS="python stfl"
    1.16 +
    1.17 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.18 +genpkg_rules()
    1.19 +{
    1.20 +	mkdir -p $fs/usr/lib
    1.21 +	cp -a $install/usr/lib/python* $fs/usr/lib
    1.22 +}
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/stfl-dev/receipt	Sat Sep 26 14:04:09 2015 +0200
     2.3 @@ -0,0 +1,21 @@
     2.4 +# SliTaz package receipt.
     2.5 +
     2.6 +PACKAGE="stfl-dev"
     2.7 +VERSION="0.24"
     2.8 +CATEGORY="development"
     2.9 +SHORT_DESC="Structured Terminal Forms Language/Library, development files."
    2.10 +MAINTAINER="pascal.bellard@slitaz.org"
    2.11 +LICENSE="LGPL3"
    2.12 +WEB_SITE="http://www.clifford.at/stfl/"
    2.13 +WANTED="stfl"
    2.14 +
    2.15 +DEPENDS="pkg-config stfl"
    2.16 +
    2.17 +# Rules to gen a SliTaz package suitable for Tazpkg.
    2.18 +genpkg_rules()
    2.19 +{
    2.20 +	mkdir -p $fs/usr/lib
    2.21 +	cp -a $install/usr/include $fs/usr
    2.22 +	cp -a $install/usr/lib/*a $fs/usr/lib
    2.23 +	cp -a $install/usr/lib/pkgconfig $fs/usr/lib
    2.24 +}
     3.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.2 +++ b/stfl/receipt	Sat Sep 26 14:04:09 2015 +0200
     3.3 @@ -0,0 +1,30 @@
     3.4 +# SliTaz package receipt.
     3.5 +
     3.6 +PACKAGE="stfl"
     3.7 +VERSION="0.24"
     3.8 +CATEGORY="base-system"
     3.9 +SHORT_DESC="Structured Terminal Forms Language/Library."
    3.10 +MAINTAINER="pascal.bellard@slitaz.org"
    3.11 +LICENSE="LGPL3"
    3.12 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    3.13 +WEB_SITE="http://www.clifford.at/stfl/"
    3.14 +WGET_URL="$WEB_SITE$TARBALL"
    3.15 +
    3.16 +BUILD_DEPENDS="ncursesw-dev swig python"
    3.17 +
    3.18 +# Rules to configure and make the package.
    3.19 +compile_rules()
    3.20 +{
    3.21 +	sed -i 's|/usr/local|/usr|' Makefile.cfg
    3.22 +	sed -i 's|ncursesw/ncurses.h|ncurses.h|' stfl_internals.h
    3.23 +	sed -i 's|^include Makefile.deps|-&|' Makefile
    3.24 +	make &&
    3.25 +	make DESTDIR=$DESTDIR install
    3.26 +}
    3.27 +
    3.28 +# Rules to gen a SliTaz package suitable for Tazpkg.
    3.29 +genpkg_rules()
    3.30 +{
    3.31 +	mkdir -p $fs/usr/lib
    3.32 +	cp -a $install/usr/lib/*.so* $fs/usr/lib
    3.33 +}