wok-6.x view rsync/receipt @ rev 4505
Up: firefox (3.5.5)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sun Nov 22 17:34:55 2009 +0100 (2009-11-22) |
parents | c9b47f8233e2 |
children | aae40c2e802f |
line source
1 # SliTaz package receipt.
3 PACKAGE="rsync"
4 VERSION="3.0.6"
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"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure \
19 --prefix=/usr \
20 --mandir=/usr/share/man \
21 --disable-iconv --disable-iconv-open \
22 $CONFIGURE_ARGS
23 sed -i -e 's/HAVE_ICONV_H ./HAVE_ICONV_H 0/' \
24 -e 's/HAVE_ICONV_OPEN ./HAVE_ICONV_OPEN 0/' config.h
25 sed -i 's/-liconv//' Makefile
26 make &&
27 make DESTDIR=$PWD/_pkg install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr
34 cp -a $_pkg/usr/bin $fs/usr
35 # Config file is /etc/rsyncd.conf.
36 # User and passwd in /etc/rsyncd.secrets, syntax : user:passwd
37 #
38 cp -a stuff/etc $fs
39 chown root.root $fs/etc/init.d/*
40 chmod 0644 $fs/etc/rsyncd.conf
42 }