opt/fcron/Pkgfile

37 lines
1.1 KiB
Plaintext
Raw Normal View History

2006-02-23 16:26:10 +01:00
# Description: Enhanced periodical command scheduler like cron
# URL: http://fcron.free.fr
2011-02-02 13:44:37 +01:00
# Maintainer: Juergen Daubert, jue at crux dot nu
2013-01-07 18:02:42 +01:00
# Depends on: readline
2006-02-23 16:26:10 +01:00
name=fcron
2016-06-27 19:01:11 +02:00
version=3.2.1
release=1
2013-01-07 18:02:42 +01:00
source=(http://fcron.free.fr/archives/$name-$version.src.tar.gz
fcron systab.orig)
2006-02-23 16:26:10 +01:00
build () {
cd $name-$version
2007-06-12 08:20:04 +02:00
2006-02-23 16:26:10 +01:00
./configure --prefix=/usr \
2007-06-12 08:20:04 +02:00
--sysconfdir=/etc/fcron \
--localstatedir=/var \
2016-06-27 19:01:11 +02:00
--mandir=/usr/share/man \
2007-01-18 14:54:52 +01:00
--with-spooldir=/var/spool/fcron \
--with-boot-install=no \
--with-answer-all=no \
--with-username=fcron \
--with-groupname=fcron \
2013-01-07 18:02:42 +01:00
--with-db2man=no \
--with-dsssl-dir=no \
2007-01-18 14:54:52 +01:00
--with-pam=no \
--with-sendmail=/usr/sbin/sendmail
2006-02-23 16:26:10 +01:00
make
2013-01-07 18:02:42 +01:00
make DESTDIR=$PKG install
2007-06-12 08:20:04 +02:00
2016-06-27 19:01:11 +02:00
rm -r $PKG/{usr/share/{doc,man/{fr,man3}},var/run}
2006-02-23 16:26:10 +01:00
install -D -m 755 $SRC/fcron $PKG/etc/rc.d/fcron
2013-01-07 18:02:42 +01:00
install -m 600 -o root -g fcron $SRC/systab.orig $PKG/var/spool/fcron
2006-02-23 16:26:10 +01:00
}