talimat 916 B

123456789101112131415161718192021222324252627282930313233343536
  1. # Description: Özellik açısından zengin cron uygulaması
  2. # URL: http://fcron.free.fr
  3. # Packager: milisarge
  4. # Depends on:
  5. name=fcron
  6. version=3.2.0
  7. release=1
  8. source=(http://fcron.free.fr/archives/$name-$version.src.tar.gz )
  9. build() {
  10. unset MAKEFLAGS
  11. source /etc/blfs-bootscripts
  12. wget http://www.linuxfromscratch.org/blfs/downloads/svn/$scripts-$scriptsversion.tar.bz2
  13. tar xf $scripts-$scriptsversion.tar.bz2
  14. # build package
  15. cd $name-$version
  16. ./configure --prefix=/usr --sysconfdir=/etc \
  17. --without-sendmail --localstatedir=/var \
  18. --with-boot-install=no --mandir=/usr/share/man \
  19. --infodir=/usr/share/info \
  20. --with-systemdsystemunitdir=no
  21. make
  22. make DESTDIR=$PKG install
  23. rm $PKG/etc/pam.conf
  24. mkdir -p $PKG/etc/pam.d
  25. for i in fcron fcrontab
  26. do install -D -m644 files/fcron.pam $PKG/etc/pam.d/$i
  27. done
  28. # Install the script
  29. cd ../$scripts-$scriptsversion
  30. make DESTDIR=$PKG install-fcron
  31. rm -rf $PKG/usr/share/doc
  32. }