wok-next diff mathomatic/receipt @ rev 20636
Fix "can't execute '/usr/bin/update-mime-database': No such file or directory"
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Apr 27 15:12:17 2018 +0300 (2018-04-27) |
parents | d43bf7aae921 |
children | d5aab818505e |
line diff
1.1 --- a/mathomatic/receipt Wed Mar 21 15:58:17 2018 +0200 1.2 +++ b/mathomatic/receipt Fri Apr 27 15:12:17 2018 +0300 1.3 @@ -14,19 +14,18 @@ 1.4 BUILD_DEPENDS="automake libtool readline-dev" 1.5 SPLIT="mathomatic-optional mathomatic" 1.6 1.7 -# Rules to configure and make the package. 1.8 -compile_rules() 1.9 -{ 1.10 +compile_rules() { 1.11 autoreconf -fi && 1.12 1.13 - ./configure $CONFIGURE_ARGS && make && make install || return 1 1.14 + ./configure $CONFIGURE_ARGS && 1.15 + fix libtool && 1.16 + make && 1.17 + make install || return 1 1.18 1.19 install -m0755 primes/matho-mult primes/matho-sum primes/primorial \ 1.20 $install/usr/bin 1.21 1.22 - docdir="$install/usr/share/doc/mathomatic-16.0.5" 1.23 - mkdir -p $docdir 1.24 - cp doc/* $docdir 1.25 + cook_pick_docs doc/* 1.26 1.27 appdir="$install/usr/share/applications" 1.28 mkdir -p $appdir 1.29 @@ -41,9 +40,7 @@ 1.30 cook_pick_manpages mathomatic.1 lib/*.3 primes/*.1 1.31 } 1.32 1.33 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.34 -genpkg_rules() 1.35 -{ 1.36 +genpkg_rules() { 1.37 case $PACKAGE in 1.38 mathomatic-optional) 1.39 copy bin/matho-* primorial