wok-next view rsync/receipt @ rev 384

Up: rsync (3.0.0)
author Christophe Lincoln <pankso@slitaz.org>
date Sat Mar 08 21:43:55 2008 +0100 (2008-03-08)
parents 00b8d39101ac
children 6c0dfa244f69
line source
1 # SliTaz package receipt.
3 PACKAGE="rsync"
4 VERSION="3.0.0"
5 CATEGORY="network"
6 SHORT_DESC="Utility that provides fast incremental."
7 MAINTAINER="pankso@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://rsync.samba.org/"
10 WGET_URL="http://rsync.samba.org/ftp/rsync/$TARBALL"
12 # Rules to configure and make the package.
13 compile_rules()
14 {
15 cd $src
16 ./configure --prefix=/usr --mandir=/usr/share/man \
17 $CONFIGURE_ARGS
18 make
19 make DESTDIR=$PWD/_pkg install
20 }
22 # Rules to gen a SliTaz package suitable for Tazpkg.
23 genpkg_rules()
24 {
25 mkdir -p $fs/usr
26 cp -a $_pkg/usr/bin $fs/usr
27 strip -s $fs/usr/bin/*
28 # Config file is /etc/rsyncd.conf.
29 # User and passwd in /etc/rsyncd.secrets, syntax : user:passwd
30 #
31 cp -a stuff/etc $fs
32 chmod 0644 $fs/etc/rsyncd.conf
33 }