wok-stable view rsync/receipt @ rev 2403
pure-ftpd: improve start script
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Mar 10 09:23:50 2009 +0000 (2009-03-10) |
parents | db7e79a69e27 |
children | e78b123b882a |
line source
1 # SliTaz package receipt.
3 PACKAGE="rsync"
4 VERSION="3.0.5"
5 CATEGORY="network"
6 SHORT_DESC="Utility that provides fast incremental."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="popt"
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 $CONFIGURE_ARGS &&
22 sed -i -e 's/HAVE_ICONV_H ./HAVE_ICONV_H 0/' \
23 -e 's/HAVE_ICONV_OPEN ./HAVE_ICONV_OPEN 0/' config.h &&
24 sed -i 's/-liconv//' Makefile &&
25 make &&
26 make DESTDIR=$PWD/_pkg install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr
33 cp -a $_pkg/usr/bin $fs/usr
34 # Config file is /etc/rsyncd.conf.
35 # User and passwd in /etc/rsyncd.secrets, syntax : user:passwd
36 #
37 cp -a stuff/etc $fs
38 chown root.root $fs/etc/init.d/*
39 chmod 0644 $fs/etc/rsyncd.conf
41 }