1
0
forked from ports/opt
opt/fcron/Pkgfile
2005-11-16 17:49:04 +00:00

33 lines
946 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.0
release=2
source=(http://fcron.free.fr/archives/$name-$version.src.tar.gz \
$name-$version.patch fcron root.orig)
build () {
cd $name-$version
patch -p1 < $SRC/$name-$version.patch
autoconf
./configure --prefix=/usr \
--with-etcdir=/etc/fcron \
--with-docdir=/usr/doc \
--with-spooldir=/var/spool/fcron \
--with-fifodir=/var/run \
--with-boot-install=no \
--with-username=daemon \
--with-groupname=daemon \
--with-pam=no
make
make DESTDIR=$PKG install
rm -r $PKG/usr/{doc,man/man3}
chown root:root $PKG/{var,var/spool}
chmod 755 $PKG/{var,var/spool}
install -D -m 755 $SRC/fcron $PKG/etc/rc.d/fcron
install -m 600 $SRC/root.orig $PKG/var/spool/fcron
}