blob: 6792501eabac56af36dd67f1c85c5621e2a8cda0 (
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
|
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/x11-misc/mgm/mgm-1.1.ebuild,v 1.11 2004/06/24 22:28:46 agriffis Exp $
inherit eutils
DESCRIPTION="MGM, the Moaning Goat Meter, is the ultimate sixty-ton cast iron lawn ornament for the desktops of today's hacker set: A gorgeous, highly configurable load and status meter written entirely in Perl. Serious pink-flamingo territory. For evil geniuses only."
HOMEPAGE="http://www.xiph.org/mgm/index.html"
SRC_URI="http://www.xiph.org/mgm/${P}.tgz"
KEYWORDS="x86 sparc ~amd64"
SLOT="0"
LICENSE="as-is"
IUSE=""
RDEPEND=">=dev-lang/perl-5.6.1
>=dev-perl/perl-tk-800.024"
S="${WORKDIR}/${PN}"
src_unpack() {
unpack ${A}
cd ${S}
epatch "${FILESDIR}/${P}-gentoo.patch"
}
src_install() {
dobin mgm || die "dobin failed"
insinto usr/share/mgm
doins lib/* || die "doins failed (lib)"
insinto usr/share/mgm/linux
doins modules/linux/* || die "doins failed (modules/linux)"
insinto usr/share/mgm/share
doins modules/share/* || die "doins failed (modules/share)"
dohtml doc/*
}
|