wok-6.x view rsync/receipt @ rev 13782
Up tazpkg (5.1)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Jan 04 17:20:57 2013 +0100 (2013-01-04) |
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 }