wok-6.x view rsync/receipt @ rev 249
Slitaz-loram: mount /usr earlier
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Feb 21 20:36:52 2008 +0100 (2008-02-21) |
parents | cdac43c3f44f |
children | 778b73e6caae |
line source
1 # SliTaz package receipt.
3 PACKAGE="rsync"
4 VERSION="2.6.9"
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 }