# Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/sys-apps/gptfdisk/gptfdisk-0.7.2.ebuild,v 1.1 2011/08/15 19:17:42 alexxy Exp $ EAPI="4" inherit eutils toolchain-funcs DESCRIPTION="gdisk - GPT partition table manipulator for Linux" HOMEPAGE="http://www.rodsbooks.com/gdisk/" SRC_URI="mirror://sourceforge/project/${PN}/${PN}/${PV}/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64 ~arm ~x86 ~x86-linux" IUSE="" DEPEND=" dev-libs/icu " RDEPEND=" !sys-apps/gdisk " src_compile() { emake CXX="$(tc-getCXX)" || die "emake failed" } src_install() { for x in gdisk sgdisk fixparts; do dosbin "${x}" || die doman "${x}.8" || die done dodoc README NEWS }