wok-next diff udpcast/receipt @ rev 21727

created recipe for vbindiff
author Hans-G?nter Theisgen
date Sat Nov 21 14:32:44 2020 +0100 (2020-11-21)
parents 9ee8f405f17f
children
line diff
     1.1 --- a/udpcast/receipt	Sun Apr 23 10:38:23 2017 +0200
     1.2 +++ b/udpcast/receipt	Sat Nov 21 14:32:44 2020 +0100
     1.3 @@ -3,29 +3,29 @@
     1.4  PACKAGE="udpcast"
     1.5  VERSION="20120424"
     1.6  CATEGORY="network"
     1.7 -SHORT_DESC="Multicast file transfer."
     1.8 +SHORT_DESC="Multicast file transfer"
     1.9  MAINTAINER="pascal.bellard@slitaz.org"
    1.10  LICENSE="GPL2 BSD"
    1.11 +WEB_SITE="http://udpcast.linux.lu/"
    1.12 +
    1.13  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.14 -WEB_SITE="http://udpcast.linux.lu/"
    1.15  WGET_URL="${WEB_SITE}download/$TARBALL"
    1.16  
    1.17  BUILD_DEPENDS="m4 perl"
    1.18  
    1.19 -# Rules to configure and make the package.
    1.20 -compile_rules()
    1.21 -{
    1.22 -	sed -i 's|#include "console.h"|#include <sys/select.h>\n&|' console.c	
    1.23 -	./configure --prefix=/usr --infodir=/usr/share/info \
    1.24 -	--mandir=/usr/share/man $CONFIGURE_ARGS &&
    1.25 +compile_rules() {
    1.26 +	sed -i 's|#include "console.h"|#include <sys/select.h>\n&|' console.c
    1.27 +
    1.28 +	./configure \
    1.29 +		--prefix=/usr \
    1.30 +		--infodir=/usr/share/info \
    1.31 +		--mandir=/usr/share/man \
    1.32 +		$CONFIGURE_ARGS &&
    1.33  	make &&
    1.34  	make install
    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  	mkdir -p $fs/usr
    1.42  	cp -a $install/usr/sbin $fs/usr
    1.43  }
    1.44 -