blob: e9449cb55d215bbe4117c15dca6e78a4ddf49261 (
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
|
# 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.2.ebuild,v 1.7 2003/02/13 05:18:48 vapier 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"
RDEPEND=">=sys-devel/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 <gentoo-stats-0.2, please remove"
ewarn "your system ID from the cron job and enter it in"
ewarn "/etc/gentoo-stats/gentoo-stats.conf instead."
}
|