wok-next diff stfl/receipt @ rev 20523
libnsgif: add missing stuff
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Mar 23 15:16:45 2018 +0200 (2018-03-23) |
parents | e5a5af728c96 |
children | d5aab818505e |
line diff
1.1 --- a/stfl/receipt Fri Jul 28 02:00:12 2017 +0300 1.2 +++ b/stfl/receipt Fri Mar 23 15:16:45 2018 +0200 1.3 @@ -12,11 +12,9 @@ 1.4 WGET_URL="$WEB_SITE$TARBALL" 1.5 1.6 BUILD_DEPENDS="ncurses-dev swig python-dev" 1.7 -SPLIT="stfl-python stfl-dev" 1.8 +SPLIT="python-stfl stfl-dev" 1.9 1.10 -# Rules to configure and make the package. 1.11 -compile_rules() 1.12 -{ 1.13 +compile_rules() { 1.14 sed -i 's|/usr/local|/usr|' Makefile.cfg 1.15 sed -i 's|ncursesw/ncurses.h|ncurses.h|' stfl_internals.h 1.16 sed -i 's|^include Makefile.deps|-&|' Makefile 1.17 @@ -27,17 +25,16 @@ 1.18 ln -s libstfl.so.$VERSION $install/usr/lib/libstfl.so.0 1.19 } 1.20 1.21 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.22 -genpkg_rules() 1.23 -{ 1.24 +genpkg_rules() { 1.25 case $PACKAGE in 1.26 stfl) 1.27 copy libstfl.so* 1.28 DEPENDS="ncurses" 1.29 ;; 1.30 - *-python) 1.31 + python-stfl) 1.32 copy python*/ 1.33 - DEPENDS="ncurses python" 1.34 + CAT="development|Python bindings" 1.35 + DEPENDS="ncurses python stfl" 1.36 ;; 1.37 *-dev) 1.38 copy @dev