summaryrefslogtreecommitdiff
blob: c4c47aa3dcb13877fff5c96cbb70878947a4b705 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# Copyright 1999-2002 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.1.ebuild,v 1.10 2002/11/30 02:11:24 vapier Exp $

DESCRIPTION="Gentoo usage statistics client daemon"
HOMEPAGE="http://stats.gentoo.org"
SRC_URI="ftp://stats.gentoo.org/${PN}/${P}.tar.bz2"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="x86 -ppc -sparc -sparc64 -alpha"

RDEPEND=">=sys-devel/perl-5.6.1
	dev-perl/libwww-perl"
DEPEND=""

src_install() {
	into /usr
	dosbin gentoo-stats
}

pkg_postinst() {
	einfo 'You must run "gentoo-stats --new" to obtain a system ID.'
	einfo "After that, create a new cronjob that looks like this:"
	einfo ""
	einfo "\t0 0 * * 0,4 /usr/sbin/gentoo-stats --update <your system ID>"
	einfo ""
	einfo 'You can edit your cron jobs with "crontab -e" or'
	einfo '"fcrontab -e" (depending on the cron daemon you use).'
}