wok-next diff check/receipt @ rev 20436

Update packages listed in the LFS book.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed Feb 21 19:48:17 2018 +0200 (2018-02-21)
parents 9a5b17ddcfcb
children 835b3b8ce6ac
line diff
     1.1 --- a/check/receipt	Tue May 30 05:37:57 2017 +0300
     1.2 +++ b/check/receipt	Wed Feb 21 19:48:17 2018 +0200
     1.3 @@ -7,27 +7,23 @@
     1.4  MAINTAINER="erjo@slitaz.org"
     1.5  LICENSE="LGPL2.1"
     1.6  WEB_SITE="https://libcheck.github.io/check/"
     1.7 -HOST_ARCH="i486 arm"
     1.8 +LFS="http://www.linuxfromscratch.org/lfs/view/stable/chapter05/check.html"
     1.9  
    1.10  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.11  WGET_URL="https://github.com/libcheck/check/releases/download/$VERSION/$TARBALL"
    1.12  
    1.13  SPLIT="check-dev"
    1.14  
    1.15 -# Rules to configure and make the package.
    1.16 -compile_rules()
    1.17 -{
    1.18 +compile_rules() {
    1.19  	./configure \
    1.20  		--disable-static \
    1.21  		$CONFIGURE_ARGS &&
    1.22  	make && make install
    1.23  }
    1.24  
    1.25 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.26 -genpkg_rules()
    1.27 -{
    1.28 +genpkg_rules() {
    1.29  	case $PACKAGE in
    1.30  		check) copy *.so* ;;
    1.31 -		check-dev) copy @dev checkmk ;;
    1.32 +		*-dev) copy @dev checkmk ;;
    1.33  	esac
    1.34  }