wok-next diff pth/receipt @ rev 21010

Small updates
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Oct 12 16:40:30 2018 +0300 (2018-10-12)
parents 10df65db91ad
children f48456621a9d
line diff
     1.1 --- a/pth/receipt	Thu Apr 19 13:15:41 2018 +0300
     1.2 +++ b/pth/receipt	Fri Oct 12 16:40:30 2018 +0300
     1.3 @@ -7,27 +7,28 @@
     1.4  MAINTAINER="fraazz@altern.org"
     1.5  LICENSE="LGPL2.1"
     1.6  WEB_SITE="http://www.gnu.org/software/pth/"
     1.7 +LFS="http://www.linuxfromscratch.org/blfs/view/stable/general/pth.html"
     1.8  
     1.9  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.10 -WGET_URL="ftp://ftp.ossp.org/pkg/lib/pth/$TARBALL" 
    1.11 +WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
    1.12  
    1.13 +BUILD_DEPENDS="gfortran"
    1.14  SPLIT="pth-dev"
    1.15  
    1.16  compile_rules() {
    1.17 -	./configure $CONFIGURE_ARGS &&
    1.18 +	./configure \
    1.19 +		--disable-static \
    1.20 +		$CONFIGURE_ARGS &&
    1.21  	fix libtool &&
    1.22  	make -j1 &&
    1.23 -	make -j1 DESTDIR=$DESTDIR install
    1.24 +	make -j1 DESTDIR=$DESTDIR install || return 1
    1.25 +
    1.26 +	cook_pick_docs README PORTING SUPPORT TESTS
    1.27  }
    1.28  
    1.29  genpkg_rules() {
    1.30  	case $PACKAGE in
    1.31 -		pth)
    1.32 -			copy @std
    1.33 -			DEPENDS="libltdl"
    1.34 -			;;
    1.35 -		*-dev)
    1.36 -			copy @dev
    1.37 -			;;
    1.38 +		pth)   copy @std;;
    1.39 +		*-dev) copy @dev;;
    1.40  	esac
    1.41  }