wok-next diff netkit-rsh/receipt @ rev 20513

A lot of tiny edits; remove wget and pkg-build from $BUILD_DEPENDS and from *-dev packages $DEPENDS.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed Mar 21 15:58:17 2018 +0200 (2018-03-21)
parents defb66322971
children 1ac63f557a4c
line diff
     1.1 --- a/netkit-rsh/receipt	Wed Oct 25 09:40:19 2017 +0200
     1.2 +++ b/netkit-rsh/receipt	Wed Mar 21 15:58:17 2018 +0200
     1.3 @@ -1,38 +1,37 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="netkit-rsh"
     1.8  VERSION="0.17"
     1.9  CATEGORY="network"
    1.10 -SHORT_DESC="Remote connexion tools."
    1.11 +SHORT_DESC="Remote connexion tools"
    1.12  MAINTAINER="pascal.bellard@slitaz.org"
    1.13  LICENSE="BSD"
    1.14 +WEB_SITE="ftp://ftp.uk.linux.org/pub/linux/Networking/netkit"
    1.15 +
    1.16  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.17 -WEB_SITE="ftp://ftp.uk.linux.org/pub/linux/Networking/netkit"
    1.18  WGET_URL="http://ibiblio.org/pub/linux/system/network/netkit/$TARBALL"
    1.19  
    1.20 -DEPENDS=""
    1.21  BUILD_DEPENDS="ncurses-dev"
    1.22  
    1.23 -# Rules to configure and make the package.
    1.24 -compile_rules()
    1.25 -{
    1.26 -	sed -i	-e 's/union wait/int/' \
    1.27 +compile_rules() {
    1.28 +	sed -i
    1.29 +		-e 's/union wait/int/' \
    1.30  		-e 's/status.w_termsig | status.w_retcode/WTERMSIG(status)/' \
    1.31 -			rlogin/rlogin.c
    1.32 +		rlogin/rlogin.c
    1.33  	sed -i 's|/man|/share&|' configure
    1.34  	mkdir -p $DESTDIR/usr/bin $DESTDIR/usr/sbin \
    1.35  		 $DESTDIR/usr/share/man/man1 $DESTDIR/usr/share/man/man8
    1.36  	sed -i 's|.*param.h.*|#include <linux/limits.h>\n&|' \
    1.37  		rexecd/rexecd.c rshd/rshd.c
    1.38  	sed -i 's|.*rlogind.*|#include <stdio.h>\n&|' rlogind/rlogind.h
    1.39 -	./configure --prefix=/usr --without-pam --installroot=$DESTDIR &&
    1.40 +
    1.41 +	./configure \
    1.42 +		--prefix=/usr \
    1.43 +		--without-pam \
    1.44 +		--installroot=$DESTDIR &&
    1.45  	make && make install
    1.46  }
    1.47  
    1.48 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.49 -genpkg_rules()
    1.50 -{
    1.51 -	mkdir $fs/usr
    1.52 -	cp -a $install/usr/bin $fs/usr
    1.53 -	cp -a $install/usr/sbin $fs/usr
    1.54 +genpkg_rules() {
    1.55 +	copy @std
    1.56  }