blob: 1003816bac09ab13bd5968c29db1118a8b4f5e36 (
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
37
|
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-apps/gptfdisk/gptfdisk-0.6.13.ebuild,v 1.3 2012/01/24 10:20:42 jlec Exp $
EAPI="3"
inherit eutils toolchain-funcs
MY_PN="gdisk"
MY_P="${MY_PN}-${PV}"
DESCRIPTION="gdisk - GPT partition table manipulator for Linux"
HOMEPAGE="http://www.rodsbooks.com/gdisk/"
SRC_URI="mirror://sourceforge/gptfdisk/${MY_P}.tgz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ~arm x86"
IUSE=""
RDEPEND=""
DEPEND=""
S="${WORKDIR}/${MY_P}"
src_compile() {
emake CXX="$(tc-getCXX)" || die "emake failed"
}
src_install() {
for x in gdisk sgdisk; do
dosbin "${x}" || die
doman "${x}.8" || die
dohtml "${x}.html" || die
done
dodoc README NEWS
}
|