wok-6.x view rsync/receipt @ rev 14776

Up postfix-mysql (2.10.1)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Jun 30 12:23:53 2013 +0200 (2013-06-30)
parents 106571b55561
children a436a235f098
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 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://rsync.samba.org/"
10 WGET_URL="${WEB_SITE}ftp/rsync/$TARBALL"
11 TAGS="sync"
12 CONFIG_FILES="/etc/rsyncd.conf /etc/rsyncd.secrets"
13 TAZPANEL_DAEMON="man::rsync|help::rsync|edit|options|web::$WEB_SITE"
15 DEPENDS="popt attr acl"
16 BUILD_DEPENDS="popt-dev acl-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 cd $src
22 ./configure \
23 --prefix=/usr \
24 --mandir=/usr/share/man \
25 --disable-iconv --disable-iconv-open \
26 $CONFIGURE_ARGS
27 sed -i -e 's/HAVE_ICONV_H ./HAVE_ICONV_H 0/' \
28 -e 's/HAVE_ICONV_OPEN ./HAVE_ICONV_OPEN 0/' config.h
29 sed -i 's/-liconv//' Makefile
30 make &&
31 make DESTDIR=$DESTDIR install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p $fs/usr
38 cp -a $install/usr/bin $fs/usr
39 # Config file is /etc/rsyncd.conf.
40 # User and passwd in /etc/rsyncd.secrets, syntax : user:passwd
41 #
42 cp -a stuff/etc $fs
43 chown root.root $fs/etc/init.d/*
44 chmod 0644 $fs/etc/rsyncd.conf
46 }