wok-6.x annotate rsync/receipt @ rev 14807
alarm-clock: fix WGET_URL
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Jul 17 09:43:22 2013 +0200 (2013-07-17) |
parents | e9130cce9043 |
children | 2b9f96603415 |
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@14781 | 8 LICENSE="GPL" |
pankso@8 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@8 | 10 WEB_SITE="http://rsync.samba.org/" |
pascal@14374 | 11 WGET_URL="${WEB_SITE}ftp/rsync/$TARBALL" |
jozee@4972 | 12 TAGS="sync" |
slaxemulator@8533 | 13 CONFIG_FILES="/etc/rsyncd.conf /etc/rsyncd.secrets" |
pascal@14772 | 14 TAZPANEL_DAEMON="man::rsync|help::rsync|edit|options|web::$WEB_SITE" |
pankso@8 | 15 |
pascal@14374 | 16 DEPENDS="popt attr acl" |
pascal@14374 | 17 BUILD_DEPENDS="popt-dev acl-dev" |
pascal@14374 | 18 |
pankso@8 | 19 # Rules to configure and make the package. |
pankso@8 | 20 compile_rules() |
pankso@8 | 21 { |
pankso@8 | 22 cd $src |
pankso@536 | 23 ./configure \ |
pankso@536 | 24 --prefix=/usr \ |
pankso@536 | 25 --mandir=/usr/share/man \ |
pascal@2972 | 26 --disable-iconv --disable-iconv-open \ |
pascal@2972 | 27 $CONFIGURE_ARGS |
pascal@2972 | 28 sed -i -e 's/HAVE_ICONV_H ./HAVE_ICONV_H 0/' \ |
pascal@2972 | 29 -e 's/HAVE_ICONV_OPEN ./HAVE_ICONV_OPEN 0/' config.h |
pascal@2972 | 30 sed -i 's/-liconv//' Makefile |
pascal@1581 | 31 make && |
pascal@14374 | 32 make DESTDIR=$DESTDIR install |
pankso@8 | 33 } |
pankso@8 | 34 |
pankso@8 | 35 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@8 | 36 genpkg_rules() |
pankso@8 | 37 { |
pankso@8 | 38 mkdir -p $fs/usr |
pascal@14374 | 39 cp -a $install/usr/bin $fs/usr |
pankso@8 | 40 # Config file is /etc/rsyncd.conf. |
pankso@8 | 41 # User and passwd in /etc/rsyncd.secrets, syntax : user:passwd |
pankso@8 | 42 # |
pankso@8 | 43 cp -a stuff/etc $fs |
erjo@1074 | 44 chown root.root $fs/etc/init.d/* |
pankso@8 | 45 chmod 0644 $fs/etc/rsyncd.conf |
erjo@1074 | 46 |
pankso@8 | 47 } |