wok view rsync/receipt @ rev 472

Improved SliTaz Openbox default theme
author Christophe Lincoln <pankso@slitaz.org>
date Fri Mar 21 13:09:04 2008 +0100 (2008-03-21)
parents 778b73e6caae
children 0b58f274eec1
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 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 --prefix=/usr --mandir=/usr/share/man \
19 $CONFIGURE_ARGS
20 make
21 make DESTDIR=$PWD/_pkg install
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr
28 cp -a $_pkg/usr/bin $fs/usr
29 strip -s $fs/usr/bin/*
30 # Config file is /etc/rsyncd.conf.
31 # User and passwd in /etc/rsyncd.secrets, syntax : user:passwd
32 #
33 cp -a stuff/etc $fs
34 chmod 0644 $fs/etc/rsyncd.conf
35 }