# Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit rpm versionator MY_PV="$(replace_version_separator 2 '-' ${PV})" S="${WORKDIR}/${PN}-$(get_version_component_range 1-2 ${PV})" DESCRIPTION="DiskCheck is a small utility that monitors how much space is available on your hard drive. It checks your drive space every hour and takes action based on the specifications in a very simple config file. When disks are nearing full capacity, mail will be sent to the system administrator warning him to take action." HOMEPAGE="http://download.fedora.redhat.com/pub/fedora/linux/core/development/SRPMS/" SRC_URI="http://download.fedora.redhat.com/pub/fedora/linux/core/development/SRPMS/${PN}-${MY_PV}.src.rpm" LICENSE="GPL-2" SLOT="0" KEYWORDS="~x86 ~amd64" IUSE="" DEPEND="virtual/cron virtual/mta" src_unpack() { rpm_src_unpack } src_compile() { true; } src_install() { insinto /etc doins ${S}/diskcheck.conf exeinto /etc/cron.hourly doexe ${S}/diskcheck }