wok view rsync/receipt @ rev 16030

busybox: enable FEATURE_SUID_CONFIG_QUIET
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Mar 08 10:43:44 2014 +0000 (2014-03-08)
parents 2b9f96603415
children f20bb2aafa21
line source
1 # SliTaz package receipt.
3 PACKAGE="rsync"
4 VERSION="3.0.9"
5 CATEGORY="network"
6 SHORT_DESC="Utility that provides fast incremental."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL3"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://rsync.samba.org/"
11 WGET_URL="${WEB_SITE}ftp/rsync/$TARBALL"
12 CONFIG_FILES="/etc/rsyncd.conf /etc/rsyncd.secrets"
13 TAGS="sync copy secure"
14 #HOST_ARCH="i486 arm"
16 DEPENDS="popt attr acl"
17 BUILD_DEPENDS="popt-dev attr-dev acl-dev"
19 # TazPanel
20 TAZPANEL_DAEMON="man::rsync|help::rsync|edit|options|web::$WEB_SITE"
22 # Rules to configure and make the package.
23 compile_rules()
24 {
25 cd $src
26 ./configure \
27 --prefix=/usr \
28 --mandir=/usr/share/man \
29 --disable-iconv \
30 --disable-iconv-open \
31 $CONFIGURE_ARGS
32 sed -i -e 's/HAVE_ICONV_H ./HAVE_ICONV_H 0/' \
33 -e 's/HAVE_ICONV_OPEN ./HAVE_ICONV_OPEN 0/' config.h
34 sed -i 's/-liconv//' Makefile
35 make &&
36 make DESTDIR=$DESTDIR install
37 }
39 # Rules to gen a SliTaz package suitable for Tazpkg.
40 genpkg_rules()
41 {
42 mkdir -p $fs/usr
43 cp -a $install/usr/bin $fs/usr
44 # Config file is /etc/rsyncd.conf.
45 # User and passwd in /etc/rsyncd.secrets, syntax : user:passwd
46 #
47 cp -a $stuff/etc $fs
48 chown root.root $fs/etc/init.d/*
49 chmod 0644 $fs/etc/rsyncd.conf
51 }