milis/talimatname/genel/p/prun/talimat

26 lines
604 B
Plaintext
Raw Normal View History

2018-06-09 00:06:58 +02:00
# 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
}