wok view rsync/receipt @ rev 16219
Up fpc-bootstrap (2.6.4) again...
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Mar 31 20:10:40 2014 +0000 (2014-03-31) |
parents | 7e1257627587 |
children | 227b2c1214c2 |
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 ./configure \
26 --prefix=/usr \
27 --mandir=/usr/share/man \
28 --disable-iconv \
29 --disable-iconv-open \
30 $CONFIGURE_ARGS
31 sed -i -e 's/HAVE_ICONV_H ./HAVE_ICONV_H 0/' \
32 -e 's/HAVE_ICONV_OPEN ./HAVE_ICONV_OPEN 0/' config.h
33 sed -i 's/-liconv//' Makefile
34 make &&
35 make DESTDIR=$DESTDIR install
36 }
38 # Rules to gen a SliTaz package suitable for Tazpkg.
39 genpkg_rules()
40 {
41 mkdir -p $fs/usr
42 cp -a $install/usr/bin $fs/usr
43 # Config file is /etc/rsyncd.conf.
44 # User and passwd in /etc/rsyncd.secrets, syntax : user:passwd
45 #
46 cp -a $stuff/etc $fs
47 chown root.root $fs/etc/init.d/*
48 chmod 0644 $fs/etc/rsyncd.conf
50 }