summaryrefslogblamecommitdiff
path: root/sys-fs/mac-fdisk/mac-fdisk-0.1_p16-r1.ebuild
blob: 59e6eed05b535fbe5b1bcc74fd405db85fefc327 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14













                                                                               
                                 






















                                                      
# Copyright 2015-2016 Adélie Linux Team
# Distributed under the terms of the NCSA License

EAPI=6

DESCRIPTION="Mac/PowerMac disk partitioning utility"
HOMEPAGE="ftp://ftp.mklinux.apple.com/pub/Other_Tools/"
SRC_URI="
	mirror://debian/pool/main/m/mac-fdisk/${PN}_${PV/_p*}.orig.tar.gz
	mirror://debian/pool/main/m/mac-fdisk/${PN}_${PV/_p*}-${PV/*_p}.diff.gz
"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="ppc ppc64 ~x86 ~x86_64"

S=${WORKDIR}/${P/_p*}.orig

src_prepare() {
    eapply "${WORKDIR}"/${PN}_${PV/_p*}-${PV/*_p}.diff
	eapply "${FILESDIR}"
	eapply_user
}

src_compile () {
	emake CFLAGS="-D_GNU_SOURCE"
}

src_install() {
	into /
	newsbin pdisk mac-fdisk
	newsbin fdisk pmac-fdisk

	into /usr
	newman mac-fdisk.8.in mac-fdisk.8
	newman pmac-fdisk.8.in pmac-fdisk.8
	dodoc README HISTORY
}