wok-current diff yp-tools/receipt @ rev 23149

syslinux/taziso: ntfs support
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Mar 15 15:33:30 2020 +0100 (2020-03-15)
parents 86790a278e70
children d443265acbc1
line diff
     1.1 --- a/yp-tools/receipt	Tue Aug 07 23:03:21 2018 +0200
     1.2 +++ b/yp-tools/receipt	Sun Mar 15 15:33:30 2020 +0100
     1.3 @@ -1,22 +1,27 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="yp-tools"
     1.7 -VERSION="2.12"
     1.8 +VERSION="4.2.3"
     1.9  CATEGORY="network"
    1.10  SHORT_DESC="Yellow pages tools."
    1.11  MAINTAINER="pascal.bellard@slitaz.org"
    1.12  LICENSE="GPL2"
    1.13 +WEB_SITE="https://github.com/thkukuk/yp-tools"
    1.14 +
    1.15  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.16 -WEB_SITE="https://www.kernel.org/pub/linux/utils/net/NIS/"
    1.17 -WGET_URL="$WEB_SITE/$TARBALL"
    1.18 +WGET_URL="$WEB_SITE/archive/v$VERSION.tar.gz"
    1.19 +
    1.20 +BUILD_DEPENDS="autoconf"
    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 -	--mandir=/usr/share/man \
    1.28 -	$CONFIGURE_ARGS &&
    1.29 +	./autogen.sh &&
    1.30 +	./configure				\
    1.31 +		--prefix=/usr			\
    1.32 +		--infodir=/usr/share/info	\
    1.33 +		--mandir=/usr/share/man		\
    1.34 +		$CONFIGURE_ARGS &&
    1.35  	make &&
    1.36  	make DESTDIR=$DESTDIR install
    1.37  }
    1.38 @@ -25,7 +30,8 @@
    1.39  genpkg_rules()
    1.40  {
    1.41  	mkdir -p $fs/usr
    1.42 -	cp -a $install/usr/sbin $fs/usr
    1.43 -	cp -a $install/usr/bin $fs/usr
    1.44 -	cp -a $install/var $fs
    1.45 +
    1.46 +	cp -a $install/usr/sbin	$fs/usr
    1.47 +	cp -a $install/usr/bin	$fs/usr
    1.48 +	cp -a $install/var	$fs
    1.49  }