SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "rsync"

# 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

}
3382 packages and 430813 files in stable database (Mon Mar 4 17:53:49 2019)