wok-tiny diff rsync/receipt @ rev 97

Fix libs build, inet.conf updates ...
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Oct 09 10:21:00 2015 +0200 (2015-10-09)
parents a592b36892ba
children 10cf1a5f187d
line diff
     1.1 --- a/rsync/receipt	Thu Jul 18 13:11:03 2013 +0000
     1.2 +++ b/rsync/receipt	Fri Oct 09 10:21:00 2015 +0200
     1.3 @@ -1,13 +1,13 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="rsync"
     1.7 -VERSION="3.0.9"
     1.8 +VERSION="3.1.1"
     1.9  CATEGORY="network"
    1.10  SHORT_DESC="Utility that provides fast incremental."
    1.11  MAINTAINER="pankso@slitaz.org"
    1.12  LICENSE="GPL"
    1.13  [ -n "$TARGET" ] || TARGET="i486"
    1.14 -BUILD_DEPENDS="uclibc-cross-compiler-$TARGET"
    1.15 +BUILD_DEPENDS="uclibc-cross-compiler-$TARGET perl"
    1.16  DEPENDS=""
    1.17  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.18  WEB_SITE="http://rsync.samba.org/"
    1.19 @@ -17,7 +17,6 @@
    1.20  # Rules to configure and make the package.
    1.21  compile_rules()
    1.22  {
    1.23 -	cd $src
    1.24  	sed -i 's/cross_compiling=no/cross_compiling=yes/' configure.sh
    1.25  	./configure CC=uclibc-$TARGET-cc --host=i486-pc-linux-gnu \
    1.26  		--prefix=/usr \
    1.27 @@ -30,18 +29,18 @@
    1.28  		-e 's/HAVE_ICONV_OPEN ./HAVE_ICONV_OPEN 0/' config.h
    1.29  	sed -i 's/-liconv//' Makefile
    1.30  	make &&
    1.31 -	make DESTDIR=$PWD/_pkg install
    1.32 +	make DESTDIR=$DESTDIR install
    1.33  }
    1.34  
    1.35  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.36  genpkg_rules()
    1.37  {
    1.38  	mkdir -p $fs/usr
    1.39 -	cp -a $_pkg/usr/bin $fs/usr
    1.40 +	cp -a $install/usr/bin $fs/usr
    1.41  	# Config file is /etc/rsyncd.conf.
    1.42  	# User and passwd in /etc/rsyncd.secrets, syntax : user:passwd
    1.43  	#
    1.44 -	cp -a stuff/etc $fs
    1.45 +	cp -a $stuff/etc $fs
    1.46  	chown root.root $fs/etc/init.d/*
    1.47  	chmod 0644 $fs/etc/rsyncd.conf
    1.48