wok view rsync/receipt @ rev 7756
busybox: set again CONFIG_USE_BB_CRYPT_SHA
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Dec 21 16:28:29 2010 +0100 (2010-12-21) |
parents | aae40c2e802f |
children | 646704797a39 |
line source
1 # SliTaz package receipt.
3 PACKAGE="rsync"
4 VERSION="3.0.7"
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"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 ./configure \
20 --prefix=/usr \
21 --mandir=/usr/share/man \
22 --disable-iconv --disable-iconv-open \
23 $CONFIGURE_ARGS
24 sed -i -e 's/HAVE_ICONV_H ./HAVE_ICONV_H 0/' \
25 -e 's/HAVE_ICONV_OPEN ./HAVE_ICONV_OPEN 0/' config.h
26 sed -i 's/-liconv//' Makefile
27 make &&
28 make DESTDIR=$PWD/_pkg install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr
35 cp -a $_pkg/usr/bin $fs/usr
36 # Config file is /etc/rsyncd.conf.
37 # User and passwd in /etc/rsyncd.secrets, syntax : user:passwd
38 #
39 cp -a stuff/etc $fs
40 chown root.root $fs/etc/init.d/*
41 chmod 0644 $fs/etc/rsyncd.conf
43 }