wok-next diff hyphen/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 bd7a40b68c3f
children d5aab818505e
line diff
     1.1 --- a/hyphen/receipt	Fri Oct 20 16:30:46 2017 +0200
     1.2 +++ b/hyphen/receipt	Fri Apr 27 15:12:17 2018 +0300
     1.3 @@ -3,31 +3,29 @@
     1.4  PACKAGE="hyphen"
     1.5  VERSION="2.8.8"
     1.6  CATEGORY="system-tools"
     1.7 -SHORT_DESC="library for high quality hyphenation and justification"
     1.8 +SHORT_DESC="Library for high quality hyphenation and justification"
     1.9  MAINTAINER="psychomaniak@xakep.ru"
    1.10  LICENSE="GPL2 LGPL2.1 MPL"
    1.11  WEB_SITE="http://hunspell.github.io/"
    1.12 +
    1.13  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.14  WGET_URL="$SF_MIRROR/hunspell/$TARBALL"
    1.15  
    1.16  BUILD_DEPENDS="automake libtool gettext perl"
    1.17  SPLIT="hyphen-dev"
    1.18  
    1.19 -# Rules to configure and make the package.
    1.20 -compile_rules()
    1.21 -{
    1.22 +compile_rules() {
    1.23  	./configure $CONFIGURE_ARGS &&
    1.24 +	fix libtool &&
    1.25  	make &&
    1.26 -	make DESTDIR=$DESTDIR install-libLTLIBRARIES
    1.27 -	make DESTDIR=$DESTDIR install-binSCRIPTS
    1.28 +	make DESTDIR=$DESTDIR install-libLTLIBRARIES &&
    1.29 +	make DESTDIR=$DESTDIR install-binSCRIPTS     &&
    1.30  	make DESTDIR=$DESTDIR install-includeHEADERS
    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 -		hyphen) copy @std ;;
    1.39 -		hyphen-dev) copy @dev ;;
    1.40 +		hyphen) copy @std;;
    1.41 +		*-dev)  copy @dev;;
    1.42  	esac
    1.43  }