2018-02-11 10:45:21 +01: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 .
|
2018-02-11 11:05:11 +01:00
|
|
|
|
make
|
2018-02-11 10:45:21 +01:00
|
|
|
|
make DESTDIR="$PKG" install
|
2018-02-11 11:03:55 +01:00
|
|
|
|
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
|
2018-02-11 10:45:21 +01:00
|
|
|
|
}
|
|
|
|
|
|