wok view rsync/receipt @ rev 8

Add : gcc-lib-base, rp-pppoe, rsync, zlib
author Christophe Lincoln <pankso@slitaz.org>
date Thu Dec 13 15:21:06 2007 +0100 (2007-12-13)
parents
children cdac43c3f44f
line source
1 # SliTaz package receipt.
3 PACKAGE="rsync"
4 VERSION="2.6.9"
5 CATEGORY="base-apps"
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 }