wok-current view rsync/receipt @ rev 14989

thunderbird-langpack-*: add license; add cs, el, en_US, es_AR, hu, pl, sl, sv_SE locales
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Aug 09 13:10:42 2013 +0300 (2013-08-09)
parents e9130cce9043
children 2b9f96603415
line source
1 # SliTaz package receipt.
3 PACKAGE="rsync"
4 VERSION="3.0.9"
5 CATEGORY="network"
6 SHORT_DESC="Utility that provides fast incremental."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://rsync.samba.org/"
11 WGET_URL="${WEB_SITE}ftp/rsync/$TARBALL"
12 TAGS="sync"
13 CONFIG_FILES="/etc/rsyncd.conf /etc/rsyncd.secrets"
14 TAZPANEL_DAEMON="man::rsync|help::rsync|edit|options|web::$WEB_SITE"
16 DEPENDS="popt attr acl"
17 BUILD_DEPENDS="popt-dev acl-dev"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 cd $src
23 ./configure \
24 --prefix=/usr \
25 --mandir=/usr/share/man \
26 --disable-iconv --disable-iconv-open \
27 $CONFIGURE_ARGS
28 sed -i -e 's/HAVE_ICONV_H ./HAVE_ICONV_H 0/' \
29 -e 's/HAVE_ICONV_OPEN ./HAVE_ICONV_OPEN 0/' config.h
30 sed -i 's/-liconv//' Makefile
31 make &&
32 make DESTDIR=$DESTDIR install
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 mkdir -p $fs/usr
39 cp -a $install/usr/bin $fs/usr
40 # Config file is /etc/rsyncd.conf.
41 # User and passwd in /etc/rsyncd.secrets, syntax : user:passwd
42 #
43 cp -a stuff/etc $fs
44 chown root.root $fs/etc/init.d/*
45 chmod 0644 $fs/etc/rsyncd.conf
47 }