wok-next annotate rsync/receipt @ rev 12621
exo: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Apr 29 12:03:08 2012 +0200 (2012-04-29) |
parents | ecb7af48ae16 |
children | 106571b55561 |
rev | line source |
---|---|
pankso@8 | 1 # SliTaz package receipt. |
pankso@8 | 2 |
pankso@8 | 3 PACKAGE="rsync" |
slaxemulator@11064 | 4 VERSION="3.0.9" |
pankso@203 | 5 CATEGORY="network" |
pankso@8 | 6 SHORT_DESC="Utility that provides fast incremental." |
pankso@8 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@4451 | 8 DEPENDS="popt attr acl" |
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" |
jozee@4972 | 13 TAGS="sync" |
slaxemulator@8533 | 14 CONFIG_FILES="/etc/rsyncd.conf /etc/rsyncd.secrets" |
pankso@8 | 15 |
pankso@8 | 16 # Rules to configure and make the package. |
pankso@8 | 17 compile_rules() |
pankso@8 | 18 { |
pankso@8 | 19 cd $src |
pankso@536 | 20 ./configure \ |
pankso@536 | 21 --prefix=/usr \ |
pankso@536 | 22 --mandir=/usr/share/man \ |
pascal@2972 | 23 --disable-iconv --disable-iconv-open \ |
pascal@2972 | 24 $CONFIGURE_ARGS |
pascal@2972 | 25 sed -i -e 's/HAVE_ICONV_H ./HAVE_ICONV_H 0/' \ |
pascal@2972 | 26 -e 's/HAVE_ICONV_OPEN ./HAVE_ICONV_OPEN 0/' config.h |
pascal@2972 | 27 sed -i 's/-liconv//' Makefile |
pascal@1581 | 28 make && |
pankso@8 | 29 make DESTDIR=$PWD/_pkg install |
pankso@8 | 30 } |
pankso@8 | 31 |
pankso@8 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@8 | 33 genpkg_rules() |
pankso@8 | 34 { |
pankso@8 | 35 mkdir -p $fs/usr |
pankso@8 | 36 cp -a $_pkg/usr/bin $fs/usr |
pankso@8 | 37 # Config file is /etc/rsyncd.conf. |
pankso@8 | 38 # User and passwd in /etc/rsyncd.secrets, syntax : user:passwd |
pankso@8 | 39 # |
pankso@8 | 40 cp -a stuff/etc $fs |
erjo@1074 | 41 chown root.root $fs/etc/init.d/* |
pankso@8 | 42 chmod 0644 $fs/etc/rsyncd.conf |
erjo@1074 | 43 |
pankso@8 | 44 } |