wok-next annotate rsync/receipt @ rev 582
Add: partimage, ndiswrapper
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Tue Apr 15 14:37:39 2008 +0200 (2008-04-15) |
parents | 6c0dfa244f69 |
children | c6432101e464 |
rev | line source |
---|---|
pankso@8 | 1 # SliTaz package receipt. |
pankso@8 | 2 |
pankso@8 | 3 PACKAGE="rsync" |
pankso@536 | 4 VERSION="3.0.2" |
pankso@203 | 5 CATEGORY="network" |
pankso@8 | 6 SHORT_DESC="Utility that provides fast incremental." |
pankso@8 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@449 | 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 \ |
pankso@536 | 21 $CONFIGURE_ARGS |
pankso@8 | 22 make |
pankso@8 | 23 make DESTDIR=$PWD/_pkg install |
pankso@8 | 24 } |
pankso@8 | 25 |
pankso@8 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@8 | 27 genpkg_rules() |
pankso@8 | 28 { |
pankso@8 | 29 mkdir -p $fs/usr |
pankso@8 | 30 cp -a $_pkg/usr/bin $fs/usr |
pankso@8 | 31 strip -s $fs/usr/bin/* |
pankso@8 | 32 # Config file is /etc/rsyncd.conf. |
pankso@8 | 33 # User and passwd in /etc/rsyncd.secrets, syntax : user:passwd |
pankso@8 | 34 # |
pankso@8 | 35 cp -a stuff/etc $fs |
pankso@8 | 36 chmod 0644 $fs/etc/rsyncd.conf |
pankso@8 | 37 } |