wok-stable annotate rsync/receipt @ rev 3355
dhcp6: fix SOURCE
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Jun 11 17:59:39 2009 +0200 (2009-06-11) |
parents | 0e0beb99e92a |
children | 8802649167db |
rev | line source |
---|---|
pankso@8 | 1 # SliTaz package receipt. |
pankso@8 | 2 |
pankso@8 | 3 PACKAGE="rsync" |
erjo@2967 | 4 VERSION="3.0.6" |
pankso@203 | 5 CATEGORY="network" |
pankso@8 | 6 SHORT_DESC="Utility that provides fast incremental." |
pankso@8 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@1807 | 8 DEPENDS="popt" |
pankso@449 | 9 BUILD_DEPENDS="popt-dev" |
pankso@8 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@8 | 11 WEB_SITE="http://rsync.samba.org/" |
pankso@8 | 12 WGET_URL="http://rsync.samba.org/ftp/rsync/$TARBALL" |
pankso@8 | 13 |
pankso@8 | 14 # Rules to configure and make the package. |
pankso@8 | 15 compile_rules() |
pankso@8 | 16 { |
pankso@8 | 17 cd $src |
pankso@536 | 18 ./configure \ |
pankso@536 | 19 --prefix=/usr \ |
pankso@536 | 20 --mandir=/usr/share/man \ |
pascal@2972 | 21 --disable-iconv --disable-iconv-open \ |
pascal@2972 | 22 $CONFIGURE_ARGS |
pascal@2972 | 23 sed -i -e 's/HAVE_ICONV_H ./HAVE_ICONV_H 0/' \ |
pascal@2972 | 24 -e 's/HAVE_ICONV_OPEN ./HAVE_ICONV_OPEN 0/' config.h |
pascal@2972 | 25 sed -i 's/-liconv//' Makefile |
pascal@1581 | 26 make && |
pankso@8 | 27 make DESTDIR=$PWD/_pkg install |
pankso@8 | 28 } |
pankso@8 | 29 |
pankso@8 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@8 | 31 genpkg_rules() |
pankso@8 | 32 { |
pankso@8 | 33 mkdir -p $fs/usr |
pankso@8 | 34 cp -a $_pkg/usr/bin $fs/usr |
pankso@8 | 35 # Config file is /etc/rsyncd.conf. |
pankso@8 | 36 # User and passwd in /etc/rsyncd.secrets, syntax : user:passwd |
pankso@8 | 37 # |
pankso@8 | 38 cp -a stuff/etc $fs |
erjo@1074 | 39 chown root.root $fs/etc/init.d/* |
pankso@8 | 40 chmod 0644 $fs/etc/rsyncd.conf |
erjo@1074 | 41 |
pankso@8 | 42 } |