wok-next diff expat/receipt @ rev 20532

moc, mypaint: update bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Mar 26 13:35:23 2018 +0200 (2018-03-26)
parents 9278a60d6895
children 835b3b8ce6ac
line diff
     1.1 --- a/expat/receipt	Mon Jun 05 16:48:55 2017 +0300
     1.2 +++ b/expat/receipt	Mon Mar 26 13:35:23 2018 +0200
     1.3 @@ -1,36 +1,34 @@
     1.4  # SliTaz package receipt v2.
     1.5  
     1.6  PACKAGE="expat"
     1.7 -VERSION="2.2.0"
     1.8 +VERSION="2.2.3"
     1.9  CATEGORY="x-window"
    1.10  SHORT_DESC="XML parsing C library"
    1.11  MAINTAINER="pankso@slitaz.org"
    1.12  LICENSE="MIT"
    1.13  WEB_SITE="https://libexpat.github.io/"
    1.14 -HOST_ARCH="i486 arm"
    1.15 +LFS="http://www.linuxfromscratch.org/lfs/view/stable/chapter06/expat.html"
    1.16  
    1.17  TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.18  WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    1.19  
    1.20  SPLIT="expat-dev"
    1.21  
    1.22 -# Rules to configure and make the package.
    1.23 -compile_rules()
    1.24 -{
    1.25 +compile_rules() {
    1.26  	./configure \
    1.27  		--disable-static \
    1.28  		$CONFIGURE_ARGS &&
    1.29 -	make && make DESTDIR=$install install
    1.30 +	make && make DESTDIR=$install install || return 1
    1.31  
    1.32 -	docdir="$install/usr/share/doc/expat-$VERSION"
    1.33 -	mkdir -p $docdir; cp doc/* $docdir; rm $docdir/*.1
    1.34 +	cook_pick_docs doc/*.html doc/*.css doc/*.png
    1.35  }
    1.36  
    1.37 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.38 -genpkg_rules()
    1.39 -{
    1.40 +genpkg_rules() {
    1.41  	case $PACKAGE in
    1.42 -		expat) copy @std ;;
    1.43 -		expat-dev) copy @dev ;;
    1.44 +		expat)
    1.45 +			copy @std
    1.46 +			TAGS="LFS"
    1.47 +			;;
    1.48 +		*-dev) copy @dev;;
    1.49  	esac
    1.50  }