diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2004-04-21 20:23:06 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2004-04-21 20:23:06 +0000 |
commit | 3ce164007d227a98ebfe200ca6f56cf63c4faca0 (patch) | |
tree | b947fddc039d2f311284ccbcbb1d0cdaba2e08b0 /x11-misc/mgm/mgm-1.1.ebuild | |
parent | Fixing digests, hopefully (diff) | |
download | gentoo-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/mgm/mgm-1.1.ebuild')
-rw-r--r-- | x11-misc/mgm/mgm-1.1.ebuild | 31 |
1 files changed, 15 insertions, 16 deletions
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/* } - |