wok view rsync/receipt @ rev 14623
merge
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sat Jun 01 10:16:08 2013 +0000 (2013-06-01) |
parents | c441a7112818 |
children | e9130cce9043 |
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"
14 DEPENDS="popt attr acl"
15 BUILD_DEPENDS="popt-dev acl-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 ./configure \
22 --prefix=/usr \
23 --mandir=/usr/share/man \
24 --disable-iconv --disable-iconv-open \
25 $CONFIGURE_ARGS
26 sed -i -e 's/HAVE_ICONV_H ./HAVE_ICONV_H 0/' \
27 -e 's/HAVE_ICONV_OPEN ./HAVE_ICONV_OPEN 0/' config.h
28 sed -i 's/-liconv//' Makefile
29 make &&
30 make DESTDIR=$DESTDIR install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr
37 cp -a $install/usr/bin $fs/usr
38 # Config file is /etc/rsyncd.conf.
39 # User and passwd in /etc/rsyncd.secrets, syntax : user:passwd
40 #
41 cp -a stuff/etc $fs
42 chown root.root $fs/etc/init.d/*
43 chmod 0644 $fs/etc/rsyncd.conf
45 }