wok-next annotate rsync/receipt @ rev 16680
Up tazusb (4.2.4)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun May 18 19:16:29 2014 +0000 (2014-05-18) |
parents | 7e1257627587 |
children | 227b2c1214c2 |
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@14999 | 8 LICENSE="GPL3" |
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" |
slaxemulator@8533 | 12 CONFIG_FILES="/etc/rsyncd.conf /etc/rsyncd.secrets" |
pankso@15988 | 13 TAGS="sync copy secure" |
pankso@16081 | 14 HOST_ARCH="i486 arm" |
pankso@8 | 15 |
pascal@14374 | 16 DEPENDS="popt attr acl" |
pankso@15988 | 17 BUILD_DEPENDS="popt-dev attr-dev acl-dev" |
pankso@15988 | 18 |
pankso@15988 | 19 # TazPanel |
pankso@15988 | 20 TAZPANEL_DAEMON="man::rsync|help::rsync|edit|options|web::$WEB_SITE" |
pascal@14374 | 21 |
pankso@8 | 22 # Rules to configure and make the package. |
pankso@8 | 23 compile_rules() |
pankso@8 | 24 { |
pankso@536 | 25 ./configure \ |
pankso@536 | 26 --prefix=/usr \ |
pankso@536 | 27 --mandir=/usr/share/man \ |
pankso@15988 | 28 --disable-iconv \ |
pankso@15988 | 29 --disable-iconv-open \ |
pascal@2972 | 30 $CONFIGURE_ARGS |
pascal@2972 | 31 sed -i -e 's/HAVE_ICONV_H ./HAVE_ICONV_H 0/' \ |
pascal@2972 | 32 -e 's/HAVE_ICONV_OPEN ./HAVE_ICONV_OPEN 0/' config.h |
pascal@2972 | 33 sed -i 's/-liconv//' Makefile |
pascal@1581 | 34 make && |
pascal@14374 | 35 make DESTDIR=$DESTDIR install |
pankso@8 | 36 } |
pankso@8 | 37 |
pankso@8 | 38 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@8 | 39 genpkg_rules() |
pankso@8 | 40 { |
pankso@8 | 41 mkdir -p $fs/usr |
pascal@14374 | 42 cp -a $install/usr/bin $fs/usr |
pankso@8 | 43 # Config file is /etc/rsyncd.conf. |
pankso@8 | 44 # User and passwd in /etc/rsyncd.secrets, syntax : user:passwd |
pankso@8 | 45 # |
pankso@15988 | 46 cp -a $stuff/etc $fs |
erjo@1074 | 47 chown root.root $fs/etc/init.d/* |
pankso@8 | 48 chmod 0644 $fs/etc/rsyncd.conf |
erjo@1074 | 49 |
pankso@8 | 50 } |