blob: 9bc5786e6a11c37d64f8282728fea8ad2e59059e (
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
|
# 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.5 2002/08/31 19:58:04 blizzy Exp $
DESCRIPTION="Gentoo usage statistics client daemon"
HOMEPAGE="http://gentoo.iq-computing.de"
SRC_URI="http://gentoo.iq-computing.de/client/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="x86 -ppc -sparc -sparc64"
RDEPEND=">=sys-devel/perl-5.6.1
dev-perl/libwww-perl"
DEPEND=""
S=${WORKDIR}/${P}
src_compile() {
echo "nothing to compile"
}
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).'
}
|