wok-next diff libdv/receipt @ rev 20709

cdrdao: add patch.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat May 26 17:09:29 2018 +0300 (2018-05-26)
parents f4faceee705c
children f48456621a9d
line diff
     1.1 --- a/libdv/receipt	Sat Aug 05 05:00:03 2017 +0300
     1.2 +++ b/libdv/receipt	Sat May 26 17:09:29 2018 +0300
     1.3 @@ -7,6 +7,7 @@
     1.4  MAINTAINER="pankso@slitaz.org"
     1.5  LICENSE="LGPL2.1"
     1.6  WEB_SITE="http://libdv.sourceforge.net/"
     1.7 +LFS="http://www.linuxfromscratch.org/blfs/view/stable/multimedia/libdv.html"
     1.8  
     1.9  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.10  WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    1.11 @@ -15,26 +16,21 @@
    1.12  BUILD_DEPENDS="gfortran"
    1.13  SPLIT="libdv-dev"
    1.14  
    1.15 -# Rules to configure and make the package.
    1.16 -compile_rules()
    1.17 -{
    1.18 +compile_rules() {
    1.19  	tazpkg -r popt
    1.20  
    1.21 -	# http://www.linuxfromscratch.org/blfs/view/stable/multimedia/libdv.html
    1.22  	./configure \
    1.23  		--disable-xv \
    1.24  		--disable-static \
    1.25  		$CONFIGURE_ARGS &&
    1.26 -	make && make install &&
    1.27 +	fix libtool &&
    1.28 +	make &&
    1.29 +	make install || return 1
    1.30  
    1.31 -	docdir="$install/usr/share/doc/libdv-$VERSION" &&
    1.32 -	mkdir -p $docdir &&
    1.33 -	cp README* $docdir
    1.34 +	cook_pick_docs README*
    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  		libdv) copy @std;;
    1.43  		*-dev) copy @dev;;