wok-6.x view rsync/receipt @ rev 10817

busybox: add index, CGI env, config and desktop files for httpd
author Christophe Lincoln <pankso@slitaz.org>
date Mon Jun 06 00:30:06 2011 +0200 (2011-06-06)
parents 7f631665ba40
children c441a7112818
line source
1 # SliTaz package receipt.
3 PACKAGE="rsync"
4 VERSION="3.0.8"
5 CATEGORY="network"
6 SHORT_DESC="Utility that provides fast incremental."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="popt attr acl"
9 BUILD_DEPENDS="popt-dev"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://rsync.samba.org/"
12 WGET_URL="http://rsync.samba.org/ftp/rsync/$TARBALL"
13 TAGS="sync"
14 CONFIG_FILES="/etc/rsyncd.conf /etc/rsyncd.secrets"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 ./configure \
21 --prefix=/usr \
22 --mandir=/usr/share/man \
23 --disable-iconv --disable-iconv-open \
24 $CONFIGURE_ARGS
25 sed -i -e 's/HAVE_ICONV_H ./HAVE_ICONV_H 0/' \
26 -e 's/HAVE_ICONV_OPEN ./HAVE_ICONV_OPEN 0/' config.h
27 sed -i 's/-liconv//' Makefile
28 make &&
29 make DESTDIR=$PWD/_pkg install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr
36 cp -a $_pkg/usr/bin $fs/usr
37 # Config file is /etc/rsyncd.conf.
38 # User and passwd in /etc/rsyncd.secrets, syntax : user:passwd
39 #
40 cp -a stuff/etc $fs
41 chown root.root $fs/etc/init.d/*
42 chmod 0644 $fs/etc/rsyncd.conf
44 }