wok annotate rsync/receipt @ rev 14506

grub2: add /usr/share
author Richard Dunbar <mojo@slitaz.org>
date Tue May 14 00:30:55 2013 +0000 (2013-05-14)
parents c441a7112818
children e9130cce9043
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"
pankso@8 8 TARBALL="$PACKAGE-$VERSION.tar.gz"
pankso@8 9 WEB_SITE="http://rsync.samba.org/"
pascal@14374 10 WGET_URL="${WEB_SITE}ftp/rsync/$TARBALL"
jozee@4972 11 TAGS="sync"
slaxemulator@8533 12 CONFIG_FILES="/etc/rsyncd.conf /etc/rsyncd.secrets"
pankso@8 13
pascal@14374 14 DEPENDS="popt attr acl"
pascal@14374 15 BUILD_DEPENDS="popt-dev acl-dev"
pascal@14374 16
pankso@8 17 # Rules to configure and make the package.
pankso@8 18 compile_rules()
pankso@8 19 {
pankso@8 20 cd $src
pankso@536 21 ./configure \
pankso@536 22 --prefix=/usr \
pankso@536 23 --mandir=/usr/share/man \
pascal@2972 24 --disable-iconv --disable-iconv-open \
pascal@2972 25 $CONFIGURE_ARGS
pascal@2972 26 sed -i -e 's/HAVE_ICONV_H ./HAVE_ICONV_H 0/' \
pascal@2972 27 -e 's/HAVE_ICONV_OPEN ./HAVE_ICONV_OPEN 0/' config.h
pascal@2972 28 sed -i 's/-liconv//' Makefile
pascal@1581 29 make &&
pascal@14374 30 make DESTDIR=$DESTDIR install
pankso@8 31 }
pankso@8 32
pankso@8 33 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@8 34 genpkg_rules()
pankso@8 35 {
pankso@8 36 mkdir -p $fs/usr
pascal@14374 37 cp -a $install/usr/bin $fs/usr
pankso@8 38 # Config file is /etc/rsyncd.conf.
pankso@8 39 # User and passwd in /etc/rsyncd.secrets, syntax : user:passwd
pankso@8 40 #
pankso@8 41 cp -a stuff/etc $fs
erjo@1074 42 chown root.root $fs/etc/init.d/*
pankso@8 43 chmod 0644 $fs/etc/rsyncd.conf
erjo@1074 44
pankso@8 45 }