wok-next diff ypbind-mt/receipt @ rev 20564

shell-detector, screenfetch: create $install tree
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Apr 10 10:14:26 2018 +0200 (2018-04-10)
parents 617dbdeb6f7e
children d5aab818505e
line diff
     1.1 --- a/ypbind-mt/receipt	Wed Oct 02 13:07:29 2013 +0000
     1.2 +++ b/ypbind-mt/receipt	Tue Apr 10 10:14:26 2018 +0200
     1.3 @@ -1,4 +1,4 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="ypbind-mt"
     1.8  VERSION="1.31"
     1.9 @@ -6,24 +6,15 @@
    1.10  SHORT_DESC="Yellow pages client daemon"
    1.11  MAINTAINER="pascal.bellard@slitaz.org"
    1.12  LICENSE="GPL2"
    1.13 +WEB_SITE="http://www.kernel.org/pub/linux/utils/net/NIS/"
    1.14 +
    1.15  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.16 -WEB_SITE="http://www.kernel.org/pub/linux/utils/net/NIS/"
    1.17  WGET_URL="$WEB_SITE/$TARBALL"
    1.18  
    1.19 -# Rules to configure and make the package.
    1.20 -compile_rules()
    1.21 -{
    1.22 -	cd $src
    1.23 -	./configure --prefix=/usr --infodir=/usr/share/info \
    1.24 -	--mandir=/usr/share/man \
    1.25 -	$CONFIGURE_ARGS &&
    1.26 -	make &&
    1.27 -	make DESTDIR=$DESTDIR install
    1.28 +compile_rules() {
    1.29 +	./configure $CONFIGURE_ARGS && make && make DESTDIR=$DESTDIR install
    1.30  }
    1.31  
    1.32 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.33 -genpkg_rules()
    1.34 -{
    1.35 -	mkdir -p $fs/usr
    1.36 -	cp -a $install/usr/sbin $fs/usr
    1.37 +genpkg_rules() {
    1.38 +	copy @std
    1.39  }