summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2004-04-21 20:23:06 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2004-04-21 20:23:06 +0000
commit3ce164007d227a98ebfe200ca6f56cf63c4faca0 (patch)
treeb947fddc039d2f311284ccbcbb1d0cdaba2e08b0 /x11-misc
parentFixing digests, hopefully (diff)
downloadgentoo-2-3ce164007d227a98ebfe200ca6f56cf63c4faca0.tar.gz
gentoo-2-3ce164007d227a98ebfe200ca6f56cf63c4faca0.tar.bz2
gentoo-2-3ce164007d227a98ebfe200ca6f56cf63c4faca0.zip
inherit eutils; use epatch; error check; tidy
Diffstat (limited to 'x11-misc')
-rw-r--r--x11-misc/mgm/ChangeLog5
-rw-r--r--x11-misc/mgm/mgm-1.1.ebuild31
2 files changed, 19 insertions, 17 deletions
diff --git a/x11-misc/mgm/ChangeLog b/x11-misc/mgm/ChangeLog
index 80f98f96cf81..d0ef81ffc385 100644
--- a/x11-misc/mgm/ChangeLog
+++ b/x11-misc/mgm/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for x11-misc/mgm
# Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-misc/mgm/ChangeLog,v 1.7 2004/04/11 15:17:36 pyrania Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-misc/mgm/ChangeLog,v 1.8 2004/04/21 20:23:06 mr_bones_ Exp $
+
+ 21 Apr 2004; Michael Sterrett <mr_bones_@gentoo.org> mgm-1.1.ebuild:
+ inherit eutils; use epatch; error check; tidy
11 Apr 2004; Markus Nigbur <pyrania@gentoo.org> mgm-1.1.ebuild:
Go epatch!
diff --git a/x11-misc/mgm/mgm-1.1.ebuild b/x11-misc/mgm/mgm-1.1.ebuild
index 38f245ff3ad0..4f16367a6e91 100644
--- a/x11-misc/mgm/mgm-1.1.ebuild
+++ b/x11-misc/mgm/mgm-1.1.ebuild
@@ -1,37 +1,36 @@
# Copyright 1999-2004 Gentoo Technologies, Inc.
# 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.8 2004/04/11 15:17:36 pyrania Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-misc/mgm/mgm-1.1.ebuild,v 1.9 2004/04/21 20:23:06 mr_bones_ 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"
-S=${WORKDIR}/${PN}
KEYWORDS="x86 sparc "
SLOT="0"
LICENSE="as-is"
+IUSE=""
RDEPEND=">=dev-lang/perl-5.6.1
>=dev-perl/perl-tk-800.024"
-src_unpack()
-{
- unpack ${P}.tgz
- cd ${S}
- patch ${FILESDIR}/${P}-gentoo.patch
-}
+S="${WORKDIR}/${PN}"
-src_install()
-{
+src_unpack() {
+ unpack ${A}
cd ${S}
+ epatch "${FILESDIR}/${P}-gentoo.patch"
+}
- dobin mgm
- dohtml doc/*
+src_install() {
+ dobin mgm || die "dobin failed"
insinto usr/share/mgm
- doins lib/*
+ doins lib/* || die "doins failed (lib)"
insinto usr/share/mgm/linux
- doins modules/linux/*
+ doins modules/linux/* || die "doins failed (modules/linux)"
insinto usr/share/mgm/share
- doins modules/share/*
+ doins modules/share/* || die "doins failed (modules/share)"
+ dohtml doc/*
}
-