# Copyright 1999-2000 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License, v2 or later # Author Jerry A! # $Header: /var/cvsroot/gentoo-x86/app-admin/fcron/fcron-1.1.1-r6.ebuild,v 1.3 2001/09/05 02:41:57 woodchip Exp $ S=${WORKDIR}/${P} DESCRIPTION="A replacement for vcron" SRC_URI="http://fcron.free.fr/${P}.src.tar.gz" HOMEPAGE="http://fcron.free.fr/" DEPEND="virtual/glibc virtual/mta" src_compile() { if [ ! -d "/etc/fcron" ]; then mkdir /etc/fcron fi try ./configure --prefix=/usr --host=${CHOST} \ --with-etcdir=/etc/fcron \ --with-piddir=/var/run \ --with-spooldir=/var/spool/fcron \ --with-sendmail=/usr/sbin/sendmail \ --with-username=cron \ --with-groupname=cron \ --with-cflags="${CFLAGS}" try emake } src_install() { dodir /etc/fcron dodir /usr/bin dodir /usr/sbin dodir /usr/share/man{1,8} diropts -m 0770 -o root -g cron dodir /var/spool/fcron insinto /usr/bin insopts -o cron -g cron -m 6111 doins fcrontab insopts -o root -g root -m 6111 doins fcronsighup insinto /usr/sbin insopts -o root -g root -m 0110 doins fcron cd ${S}/files insinto /etc/fcron insopts -m 0640 -o root -g cron doins fcron.allow fcron.deny newins fcron.conf fcron.conf.sample cd ${S}/doc dodoc CHANGES README LICENSE MANIFEST VERSION newdoc ../files/fcron.conf fcron.conf.sample docinto html dodoc *.html doman *.{1,8} exeinto /etc/init.d newexe ${FILESDIR}/fcron.rc6 fcron }