wok annotate rsync/receipt @ rev 14772

Add some TAZPANEL_DAEMON
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Jun 30 09:55:32 2013 +0200 (2013-06-30)
parents 106571b55561
children a436a235f098
rev   line source
pankso@8 1 # SliTaz package receipt.
pankso@8 2
pankso@8 3 PACKAGE="rsync"
slaxemulator@11064 4 VERSION="3.0.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/"
pascal@14374 10 WGET_URL="${WEB_SITE}ftp/rsync/$TARBALL"
jozee@4972 11 TAGS="sync"
slaxemulator@8533 12 CONFIG_FILES="/etc/rsyncd.conf /etc/rsyncd.secrets"
pascal@14772 13 TAZPANEL_DAEMON="man::rsync|help::rsync|edit|options|web::$WEB_SITE"
pankso@8 14
pascal@14374 15 DEPENDS="popt attr acl"
pascal@14374 16 BUILD_DEPENDS="popt-dev acl-dev"
pascal@14374 17
pankso@8 18 # Rules to configure and make the package.
pankso@8 19 compile_rules()
pankso@8 20 {
pankso@8 21 cd $src
pankso@536 22 ./configure \
pankso@536 23 --prefix=/usr \
pankso@536 24 --mandir=/usr/share/man \
pascal@2972 25 --disable-iconv --disable-iconv-open \
pascal@2972 26 $CONFIGURE_ARGS
pascal@2972 27 sed -i -e 's/HAVE_ICONV_H ./HAVE_ICONV_H 0/' \
pascal@2972 28 -e 's/HAVE_ICONV_OPEN ./HAVE_ICONV_OPEN 0/' config.h
pascal@2972 29 sed -i 's/-liconv//' Makefile
pascal@1581 30 make &&
pascal@14374 31 make DESTDIR=$DESTDIR install
pankso@8 32 }
pankso@8 33
pankso@8 34 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@8 35 genpkg_rules()
pankso@8 36 {
pankso@8 37 mkdir -p $fs/usr
pascal@14374 38 cp -a $install/usr/bin $fs/usr
pankso@8 39 # Config file is /etc/rsyncd.conf.
pankso@8 40 # User and passwd in /etc/rsyncd.secrets, syntax : user:passwd
pankso@8 41 #
pankso@8 42 cp -a stuff/etc $fs
erjo@1074 43 chown root.root $fs/etc/init.d/*
pankso@8 44 chmod 0644 $fs/etc/rsyncd.conf
erjo@1074 45
pankso@8 46 }