wok-stable view rsync/receipt @ rev 1074

Fix: initscript perms fro rsync, dropbear and slim.
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Wed Jul 16 13:51:53 2008 +0200 (2008-07-16)
parents c6432101e464
children 9441581e6a97
line source
1 # SliTaz package receipt.
3 PACKAGE="rsync"
4 VERSION="3.0.3"
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 make
23 make DESTDIR=$PWD/_pkg install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr
30 cp -a $_pkg/usr/bin $fs/usr
31 # Config file is /etc/rsyncd.conf.
32 # User and passwd in /etc/rsyncd.secrets, syntax : user:passwd
33 #
34 cp -a stuff/etc $fs
35 chown root.root $fs/etc/init.d/*
36 chmod 0644 $fs/etc/rsyncd.conf
38 }