33 lines
945 B
Plaintext
33 lines
945 B
Plaintext
# Description: Enhanced periodical command scheduler like cron
|
|
# URL: http://fcron.free.fr
|
|
# Maintainer: Jürgen Daubert, juergen dot daubert at t-online dot de
|
|
|
|
name=fcron
|
|
version=3.0.4
|
|
release=1
|
|
source=(http://fcron.free.fr/archives/$name-$version.src.tar.gz \
|
|
fcron root.orig)
|
|
|
|
build () {
|
|
cd $name-$version
|
|
|
|
./configure --prefix=/usr \
|
|
--sysconfdir=/etc/fcron \
|
|
--localstatedir=/var \
|
|
--mandir=/usr/man \
|
|
--with-spooldir=/var/spool/fcron \
|
|
--with-boot-install=no \
|
|
--with-username=daemon \
|
|
--with-groupname=daemon \
|
|
--with-pam=no \
|
|
--with-sendmail=/usr/sbin/sendmail
|
|
|
|
make
|
|
make -j1 DESTDIR=$PKG install
|
|
|
|
rm -r $PKG/{usr/{share,man/{fr,man3}},var/run}
|
|
|
|
install -D -m 755 $SRC/fcron $PKG/etc/rc.d/fcron
|
|
install -m 600 $SRC/root.orig $PKG/var/spool/fcron
|
|
}
|