diff options
author | Joshua Kinard <kumba@gentoo.org> | 2009-03-01 22:37:10 +0000 |
---|---|---|
committer | Joshua Kinard <kumba@gentoo.org> | 2009-03-01 22:37:10 +0000 |
commit | d1edc6f60737263d44d8e0c16baecbd2f50a24e2 (patch) | |
tree | 6421a46357197ade05f3ff9e27c25e26f16d37aa /sys-boot/dvhtool/dvhtool-1.0.1-r2.ebuild | |
parent | Version bump and fix up env.d entry some more #255867. (diff) | |
download | historical-d1edc6f60737263d44d8e0c16baecbd2f50a24e2.tar.gz historical-d1edc6f60737263d44d8e0c16baecbd2f50a24e2.tar.bz2 historical-d1edc6f60737263d44d8e0c16baecbd2f50a24e2.zip |
Add two new patches from Debian, fix up some QA issues, and add ~amd64 to KEYWORDS.
Package-Manager: portage-2.1.6.7/cvs/Linux mips64
Diffstat (limited to 'sys-boot/dvhtool/dvhtool-1.0.1-r2.ebuild')
-rw-r--r-- | sys-boot/dvhtool/dvhtool-1.0.1-r2.ebuild | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/sys-boot/dvhtool/dvhtool-1.0.1-r2.ebuild b/sys-boot/dvhtool/dvhtool-1.0.1-r2.ebuild new file mode 100644 index 000000000000..569e9950de04 --- /dev/null +++ b/sys-boot/dvhtool/dvhtool-1.0.1-r2.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-boot/dvhtool/dvhtool-1.0.1-r2.ebuild,v 1.1 2009/03/01 22:37:10 kumba Exp $ + +inherit eutils + +DESCRIPTION="Tool to copy kernel(s) into the volume header on SGI MIPS-based workstations." +HOMEPAGE="http://packages.debian.org/unstable/utils/dvhtool" +SRC_URI="mirror://debian/pool/main/d/dvhtool/dvhtool_1.0.1.orig.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="-* ~mips ~x86 ~amd64" +IUSE="" +DEPEND="" +RDEPEND="" + +src_unpack() { + unpack ${A} + cd "${S}.orig" + + # several applicable hunks from a debian patch + epatch "${FILESDIR}"/${P}-debian.diff + + # Newer minor patches from Debian + epatch "${FILESDIR}"/${P}-debian-warn_type_guess.diff + epatch "${FILESDIR}"/${P}-debian-debian-xopen_source.diff + + # Allow dvhtool to recognize Linux RAID and Linux LVM partitions + epatch "${FILESDIR}"/${P}-add-raid-lvm-parttypes.patch +} + +src_compile() { + cd "${S}.orig" + econf || die "econf failed" + emake || die "Failed to compile" +} + +src_install() { + cd "${S}.orig" + einstall +} |