milis/talimatname/genel/p/prun/talimat

26 lines
604 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Tanım: Dağıtılmış cron ve iş zamanlayıcı
# URL: https://github.com/abudnik/prun
# Paketçi: Cihan_Alkan
# Gerekler: cmake boost python3
# Grup: sistem
isim=prun
surum=git
devir=1
kaynak=()
derle() {
adres1="https://github.com/abudnik/prun.git"
git_indir ${adres1} ${isim}
cd ${isim}
cmake -DCMAKE_INSTALL_PREFIX=/usr -DRelease=true .
make
make DESTDIR="$PKG" install
mkdir -p $PKG/etc/rc.d
mv $PKG/etc/init.d $PKG/etc/rc.d/
mv $PKG/etc/rc.d/init.d/prun-master.init $PKG/etc/rc.d/init.d/prun-master
mv $PKG/etc/rc.d/init.d/prun-worker.init $PKG/etc/rc.d/init.d/prun-worker
}