wok-next diff ndisc6/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 3765f181a6d5
children 757d032c55c7
line diff
     1.1 --- a/ndisc6/receipt	Sat Nov 30 17:02:58 2013 +0000
     1.2 +++ b/ndisc6/receipt	Wed Mar 21 15:58:17 2018 +0200
     1.3 @@ -1,33 +1,29 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="ndisc6"
     1.8  VERSION="0.9.9"
     1.9  CATEGORY="network"
    1.10 -SHORT_DESC="IPv6 diagnostic tools."
    1.11 +SHORT_DESC="IPv6 diagnostic tools"
    1.12  MAINTAINER="pascal.bellard@slitaz.org"
    1.13  LICENSE="GPL2"
    1.14 +WEB_SITE="http://rdnssd.linkfanel.net/"
    1.15 +
    1.16  TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.17 -WEB_SITE="http://rdnssd.linkfanel.net/"
    1.18  WGET_URL="http://www.remlab.net/files/$PACKAGE/$TARBALL"
    1.19 -DEPENDS="perl"
    1.20 -CONFIG_FILES="/etc/rdnssd"
    1.21  
    1.22 -# Rules to configure and make the package.
    1.23 -compile_rules()
    1.24 -{
    1.25 -	cd $src
    1.26 -	./configure --prefix=/usr --infodir=/usr/share/info \
    1.27 -	--localstatedir=/var --sysconfdir=/etc \
    1.28 -	--mandir=/usr/share/man $CONFIGURE_ARGS &&
    1.29 +compile_rules() {
    1.30 +	./configure \
    1.31 +		--prefix=/usr \
    1.32 +		--infodir=/usr/share/info \
    1.33 +		--localstatedir=/var \
    1.34 +		--sysconfdir=/etc \
    1.35 +		--mandir=/usr/share/man \
    1.36 +		$CONFIGURE_ARGS &&
    1.37  	make && make DESTDIR=$DESTDIR install
    1.38  }
    1.39  
    1.40 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.41 -genpkg_rules()
    1.42 -{
    1.43 -	mkdir -p $fs/usr
    1.44 -	cp -a $install/usr/bin $fs/usr
    1.45 -	cp -a $install/usr/sbin $fs/usr
    1.46 -	cp -a $install/var $fs
    1.47 -	cp -a $install/etc $fs
    1.48 +genpkg_rules() {
    1.49 +	copy @std
    1.50 +	DEPENDS="perl"
    1.51 +	CONFIG_FILES="/etc/rdnssd"
    1.52  }