# Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit eutils DESCRIPTION="A cron job manager" HOMEPAGE="http://tcron.sourceforge.net" SRC_URI="mirror://sourceforge/tcron/${P}.tar.bz2" LICENSE="GPL-2" SLOT="0" IUSE="" DEPEND="" src_compile() { econf || die "econf failed" emake || die "emake failed" } src_install() { make \ prefix=${D}/usr \ mandir=${D}/usr/share/man \ infodir=${D}/usr/share/info \ libdir=${D}/usr/$(get_libdir) \ sysconfdir=${D}/etc \ install || die } pkg_postinst() { einfo 'Run "rc-update add tcron default" to run tcron at startup.' einfo 'Run "/etc/init.d tcron start" to start service.' }