wok-next diff dvgrab/receipt @ rev 21017

Some maintenance
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Oct 16 16:46:05 2018 +0300 (2018-10-16)
parents d43bf7aae921
children d5aab818505e
line diff
     1.1 --- a/dvgrab/receipt	Wed Mar 21 15:58:17 2018 +0200
     1.2 +++ b/dvgrab/receipt	Tue Oct 16 16:46:05 2018 +0300
     1.3 @@ -1,4 +1,4 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="dvgrab"
     1.8  VERSION="3.5"
     1.9 @@ -7,26 +7,23 @@
    1.10  LICENSE="GPL2"
    1.11  SHORT_DESC="Saves audio and video data from an IEEE (FireWire) digital source"
    1.12  WEB_SITE="http://www.kinodv.org"
    1.13 +
    1.14  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.15 -WGET_URL="http://downloads.sourceforge.net/kino/$TARBALL"
    1.16 -TAGS="firewire video"
    1.17 +WGET_URL="$SF_MIRROR/kino/$TARBALL"
    1.18  
    1.19 -DEPENDS="libdv libavc1394 jpeg libiec61883 gcc-lib-base jpeg"
    1.20  BUILD_DEPENDS="libdv-dev libraw1394-dev libavc1394-dev libiec61883-dev jpeg-dev"
    1.21  
    1.22 -# Rules to configure and make the package.
    1.23 +compile_rules() {
    1.24 +	sed -i 's/, 0xff/, -1/' iec13818-1.h
    1.25  
    1.26 -compile_rules()
    1.27 -{
    1.28 -	sed -i 's/, 0xff/, -1/' iec13818-1.h
    1.29 -	./configure --prefix=/usr &&
    1.30 +	./configure \
    1.31 +		--prefix=/usr &&
    1.32  	make &&
    1.33  	make DESTDIR=$DESTDIR install
    1.34  }
    1.35 -	
    1.36 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.37 -genpkg_rules()
    1.38 -{
    1.39 -	mkdir -p $fs/usr
    1.40 -	cp -a $install/usr/bin $fs/usr	
    1.41 +
    1.42 +genpkg_rules() {
    1.43 +	copy @std
    1.44 +	DEPENDS="libdv libavc1394 jpeg libiec61883 gcc-lib-base jpeg"
    1.45 +	TAGS="firewire video"
    1.46  }