wok-next annotate stfl/receipt @ rev 20002
Up qps, avidemux, tea
author | Xander Ziiryanoff <psychomaniak@xakep.ru> |
---|---|
date | Fri Oct 20 23:49:15 2017 +0200 (2017-10-20) |
parents | 6602a4a78b5f |
children | c3a368c0cddb |
rev | line source |
---|---|
al@19817 | 1 # SliTaz package receipt v2. |
pascal@18444 | 2 |
pascal@18444 | 3 PACKAGE="stfl" |
pascal@18444 | 4 VERSION="0.24" |
pascal@18444 | 5 CATEGORY="base-system" |
al@19817 | 6 SHORT_DESC="Structured Terminal Forms Language/Library" |
pascal@18444 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@18444 | 8 LICENSE="LGPL3" |
al@19817 | 9 WEB_SITE="http://www.clifford.at/stfl/" |
al@19817 | 10 |
pascal@18444 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@18444 | 12 WGET_URL="$WEB_SITE$TARBALL" |
pascal@18444 | 13 |
al@19817 | 14 BUILD_DEPENDS="ncurses-dev swig python-dev" |
al@19817 | 15 SPLIT="stfl-python stfl-dev" |
pascal@18444 | 16 |
pascal@18444 | 17 # Rules to configure and make the package. |
pascal@18444 | 18 compile_rules() |
pascal@18444 | 19 { |
pascal@18444 | 20 sed -i 's|/usr/local|/usr|' Makefile.cfg |
pascal@18444 | 21 sed -i 's|ncursesw/ncurses.h|ncurses.h|' stfl_internals.h |
pascal@18444 | 22 sed -i 's|^include Makefile.deps|-&|' Makefile |
al@19817 | 23 |
al@19817 | 24 make -j1 && |
al@19817 | 25 make -j1 DESTDIR=$DESTDIR install |
al@19817 | 26 |
al@19817 | 27 ln -s libstfl.so.$VERSION $install/usr/lib/libstfl.so.0 |
pascal@18444 | 28 } |
pascal@18444 | 29 |
pascal@18444 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@18444 | 31 genpkg_rules() |
pascal@18444 | 32 { |
al@19817 | 33 case $PACKAGE in |
al@19817 | 34 stfl) |
al@19817 | 35 copy libstfl.so* |
al@19817 | 36 DEPENDS="ncurses" |
al@19817 | 37 ;; |
al@19817 | 38 *-python) |
al@19817 | 39 copy python*/ |
al@19817 | 40 DEPENDS="ncurses python" |
al@19817 | 41 ;; |
al@19817 | 42 *-dev) |
al@19817 | 43 copy @dev |
al@19817 | 44 DEPENDS="stfl stfl-python ncurses-dev" |
al@19817 | 45 ;; |
al@19817 | 46 esac |
pascal@18444 | 47 } |