talimat 656 B

12345678910111213141516171819202122232425262728
  1. # Description: Synchronizing files over a network by sending just the differences in the files.
  2. # URL: http://samba.anu.edu.au/rsync/
  3. # Packager: tnut at nutyx dot org
  4. name=rsync
  5. version=3.1.2
  6. release=1
  7. source=( http://rsync.samba.org/ftp/$name/$name-$version.tar.gz )
  8. build() {
  9. source /etc/blfs-bootscripts
  10. wget http://www.linuxfromscratch.org/blfs/downloads/svn/$scripts-$scriptsversion.tar.bz2
  11. cd $name-$version
  12. ./configure --prefix=/usr \
  13. -mandir=/usr/share/man \
  14. --infodir=/usr/share/info
  15. make
  16. make DESTDIR=$PKG install
  17. # service
  18. cd $SRC
  19. tar xf $scripts-$scriptsversion.tar.bz2
  20. cd $SRC/$scripts-$scriptsversion
  21. make DESTDIR=$PKG install-rsyncd
  22. }