# Copyright 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/app-admin/gentoo-stats/gentoo-stats-0.4.ebuild,v 1.10 2003/04/09 15:54:04 todd Exp $ DESCRIPTION="Gentoo Linux usage statistics client daemon" HOMEPAGE="http://stats.gentoo.org" SRC_URI="ftp://stats.gentoo.org/${PN}/${P}.tar.bz2" LICENSE="GPL-2" SLOT="0" # devs: please do not change this, it wouldn't make much sense right now KEYWORDS="x86 ppc sparc -alpha hppa arm" RDEPEND=">=dev-lang/perl-5.6.1 dev-perl/libwww-perl sys-apps/textutils sys-apps/pciutils" DEPEND="" src_install() { into /usr dosbin gentoo-stats insinto /etc/gentoo-stats doins gentoo-stats.conf } pkg_postinst() { ewarn "Please edit /etc/gentoo-stats/gentoo-stats.conf to suit" ewarn "your needs." echo einfo 'To obtain a new system ID, run "gentoo-stats --new".' einfo einfo "After that, install a new cron job:" einfo "" einfo "\t0 0 * * 0,4 /usr/sbin/gentoo-stats --update >/dev/null" einfo "" einfo '(You can edit your cron jobs with "crontab -e" or' einfo '"fcrontab -e", depending on the cron daemon you use.)' echo ewarn "If you're updating from