wok view rsync/receipt @ rev 11876
up thunar-dev 1.3.0
author | Samuel Trassare <samuel_trassare@yahoo.com> |
---|---|
date | Mon Feb 27 15:44:08 2012 -0800 (2012-02-27) |
parents | ecb7af48ae16 |
children | 106571b55561 |
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 DEPENDS="popt attr acl"
9 BUILD_DEPENDS="popt-dev"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://rsync.samba.org/"
12 WGET_URL="http://rsync.samba.org/ftp/rsync/$TARBALL"
13 TAGS="sync"
14 CONFIG_FILES="/etc/rsyncd.conf /etc/rsyncd.secrets"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 ./configure \
21 --prefix=/usr \
22 --mandir=/usr/share/man \
23 --disable-iconv --disable-iconv-open \
24 $CONFIGURE_ARGS
25 sed -i -e 's/HAVE_ICONV_H ./HAVE_ICONV_H 0/' \
26 -e 's/HAVE_ICONV_OPEN ./HAVE_ICONV_OPEN 0/' config.h
27 sed -i 's/-liconv//' Makefile
28 make &&
29 make DESTDIR=$PWD/_pkg install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr
36 cp -a $_pkg/usr/bin $fs/usr
37 # Config file is /etc/rsyncd.conf.
38 # User and passwd in /etc/rsyncd.secrets, syntax : user:passwd
39 #
40 cp -a stuff/etc $fs
41 chown root.root $fs/etc/init.d/*
42 chmod 0644 $fs/etc/rsyncd.conf
44 }