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