wok-6.x annotate rsync/receipt @ rev 15303

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