# Copyright 2015-2016 Adélie Linux Team # Distributed under the terms of the NCSA License EAPI=5 inherit eutils 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="~amd64 ~ppc ~ppc64 ~x86" S=${WORKDIR}/${P/_p*}.orig src_prepare() { epatch "${WORKDIR}"/${PN}_${PV/_p*}-${PV/*_p}.diff EPATCH_FORCE="yes" EPATCH_SUFFIX="patch" epatch "${FILESDIR}" epatch_user } 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 }