talimat 604 B

1234567891011121314151617181920212223242526
  1. # Tanım: Dağıtılmış cron ve iş zamanlayıcı
  2. # URL: https://github.com/abudnik/prun
  3. # Paketçi: Cihan_Alkan
  4. # Gerekler: cmake boost python3
  5. # Grup: sistem
  6. isim=prun
  7. surum=git
  8. devir=1
  9. kaynak=()
  10. derle() {
  11. adres1="https://github.com/abudnik/prun.git"
  12. git_indir ${adres1} ${isim}
  13. cd ${isim}
  14. cmake -DCMAKE_INSTALL_PREFIX=/usr -DRelease=true .
  15. make
  16. make DESTDIR="$PKG" install
  17. mkdir -p $PKG/etc/rc.d
  18. mv $PKG/etc/init.d $PKG/etc/rc.d/
  19. mv $PKG/etc/rc.d/init.d/prun-master.init $PKG/etc/rc.d/init.d/prun-master
  20. mv $PKG/etc/rc.d/init.d/prun-worker.init $PKG/etc/rc.d/init.d/prun-worker
  21. }