diff options
Diffstat (limited to 'sys-apps/list/list-2.0.0.ebuild')
-rw-r--r-- | sys-apps/list/list-2.0.0.ebuild | 62 |
1 files changed, 62 insertions, 0 deletions
diff --git a/sys-apps/list/list-2.0.0.ebuild b/sys-apps/list/list-2.0.0.ebuild new file mode 100644 index 000000000000..2ba46d3b0322 --- /dev/null +++ b/sys-apps/list/list-2.0.0.ebuild @@ -0,0 +1,62 @@ +# Copyright 2005-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/list/list-2.0.0.ebuild,v 1.1 2006/11/23 21:02:08 genstef Exp $ + + +inherit eutils + +DESCRIPTION="Python client from www.linux-stats.org to collect your hardware and to generate statistics about linux-systems." +HOMEPAGE="http://www.linux-stats.org/" +SRC_URI="http://www.linux-stats.org/download/LiSt-${PV}.tar.bz2" + +KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~x86" +LICENSE="GPL-2" +RESTRICT="" +SLOT="0" + +IUSE="" +RDEPEND=">=dev-lang/python-2.4.0 + >=net-misc/wget-1.10.2 + >=sys-apps/sed-4.1.4 + >=sys-apps/util-linux-2.12r" + +S=${WORKDIR}/LiSt-${PV} + +pkg_setup() { + einfo "Adding new group \"stats\"..." + enewgroup stats +} + +src_install() { + declare CONFIGDIR=/etc/LiSt + dodir ${CONFIGDIR} + fowners root:stats ${CONFIGDIR} + fperms g+wx ${CONFIGDIR} + dobin src/LiSt + cd doc + dodoc README INSTALL AUTHORS +} + +pkg_postinst() { + echo "" + ewarn "+---------------------------------------------------+" + ewarn "| You have to be in the stats group to use this |" + ewarn "| software! You can add yourself to the stats group |" + ewarn "| by running the following command: |" + ewarn "| |" + ewarn "| gpasswd -a <user> stats |" + ewarn "| |" + ewarn "| Then you have to re-login with your user! |" + ewarn "+---------------------------------------------------+" + ewarn "| Start this application by typing \"LiSt\" in your |" + ewarn "| console. To get some help, try \"LiSt -h\". |" + ewarn "| To run this application every 24h in a cronjob, |" + ewarn "| add the following to \"crontab -e\": |" + ewarn "| |" + ewarn "| 0 12 * * * /usr/bin/LiSt -uy &>/dev/null |" + ewarn "+---------------------------------------------------+" + ewarn "| Please read also the following README: |" + ewarn "| /usr/share/doc/${PF}/README.gz |" + ewarn "+---------------------------------------------------+" + echo "" +} |