wok-next diff opensp/receipt @ rev 20574
More fix libtool
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Apr 13 20:08:04 2018 +0300 (2018-04-13) |
parents | b938e6730252 |
children | 0c55dd149a56 |
line diff
1.1 --- a/opensp/receipt Thu Jun 22 20:59:17 2017 +0300 1.2 +++ b/opensp/receipt Fri Apr 13 20:08:04 2018 +0300 1.3 @@ -14,12 +14,10 @@ 1.4 BUILD_DEPENDS="perl gfortran gettext docbook-sgml" 1.5 SPLIT="opensp-dev" 1.6 1.7 -# Rules to configure and make the package. 1.8 -compile_rules() 1.9 -{ 1.10 - sed -i 's/32,/253,/' lib/Syntax.cxx && 1.11 +compile_rules() { 1.12 + sed -i 's/32,/253,/' lib/Syntax.cxx 1.13 sed -i 's/LITLEN 240 /LITLEN 8092/' \ 1.14 - unicode/gensyntax.pl unicode/unicode.syn && 1.15 + unicode/gensyntax.pl unicode/unicode.syn 1.16 1.17 ./configure \ 1.18 --disable-static \ 1.19 @@ -32,18 +30,16 @@ 1.20 make pkgdatadir=/usr/share/sgml/OpenSP-$VERSION && 1.21 make pkgdatadir=/usr/share/sgml/OpenSP-$VERSION \ 1.22 docdir=/usr/share/doc/OpenSP-$VERSION \ 1.23 - install && 1.24 + install || return 1 1.25 1.26 for i in nsgmls sgmlnorm spam spcat spent sx; do 1.27 ln -vsf o$i $install/usr/bin/$i 1.28 - done && 1.29 - ln -vsf osx $install/usr/bin/sgml2xml && 1.30 + done 1.31 + ln -vsf osx $install/usr/bin/sgml2xml 1.32 ln -vsf libosp.so $install/usr/lib/libsp.so 1.33 } 1.34 1.35 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.36 -genpkg_rules() 1.37 -{ 1.38 +genpkg_rules() { 1.39 case $PACKAGE in 1.40 opensp) copy @std;; 1.41 *-dev) copy @dev;;