# SliTaz package receipt. PACKAGE="rsync" VERSION="3.0.9" CATEGORY="network" SHORT_DESC="Utility that provides fast incremental." MAINTAINER="pankso@slitaz.org" DEPENDS="popt attr acl" BUILD_DEPENDS="popt-dev" TARBALL="$PACKAGE-$VERSION.tar.gz" WEB_SITE="http://rsync.samba.org/" WGET_URL="http://rsync.samba.org/ftp/rsync/$TARBALL" TAGS="sync" CONFIG_FILES="/etc/rsyncd.conf /etc/rsyncd.secrets" # Rules to configure and make the package. compile_rules() { cd $src ./configure \ --prefix=/usr \ --mandir=/usr/share/man \ --disable-iconv --disable-iconv-open \ $CONFIGURE_ARGS sed -i -e 's/HAVE_ICONV_H ./HAVE_ICONV_H 0/' \ -e 's/HAVE_ICONV_OPEN ./HAVE_ICONV_OPEN 0/' config.h sed -i 's/-liconv//' Makefile make && make DESTDIR=$PWD/_pkg install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr cp -a $_pkg/usr/bin $fs/usr # Config file is /etc/rsyncd.conf. # User and passwd in /etc/rsyncd.secrets, syntax : user:passwd # cp -a stuff/etc $fs chown root.root $fs/etc/init.d/* chmod 0644 $fs/etc/rsyncd.conf }