diff options
author | Jeroen Roovers <jer@gentoo.org> | 2018-11-25 15:58:30 +0100 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2018-11-25 16:04:25 +0100 |
commit | cdff73c5bae76866640509ca2752c4e0e9b7a269 (patch) | |
tree | d7f1b7e21e99e812171aee289850714081ea52f4 /sys-fs/mac-fdisk | |
parent | app-emulation/runc: Version bump to 1.0.0_rc6 (diff) | |
download | gentoo-cdff73c5bae76866640509ca2752c4e0e9b7a269.tar.gz gentoo-cdff73c5bae76866640509ca2752c4e0e9b7a269.tar.bz2 gentoo-cdff73c5bae76866640509ca2752c4e0e9b7a269.zip |
sys-fs/mac-fdisk: Version 0.1_p18
Package-Manager: Portage-2.3.52, Repoman-2.3.12
Signed-off-by: Jeroen Roovers <jer@gentoo.org>
Diffstat (limited to 'sys-fs/mac-fdisk')
-rw-r--r-- | sys-fs/mac-fdisk/Manifest | 1 | ||||
-rw-r--r-- | sys-fs/mac-fdisk/mac-fdisk-0.1_p18.ebuild | 48 |
2 files changed, 49 insertions, 0 deletions
diff --git a/sys-fs/mac-fdisk/Manifest b/sys-fs/mac-fdisk/Manifest index 8e771d51800a..885403bccb15 100644 --- a/sys-fs/mac-fdisk/Manifest +++ b/sys-fs/mac-fdisk/Manifest @@ -1,3 +1,4 @@ DIST mac-fdisk_0.1-13.diff.gz 19615 BLAKE2B 75f81f5adcac44803e581b0959a13e27cb588fb7220c19e2ea07f8784af4eae2b1f39c3e268a0bbed8765fc3d430805b2ef13f87cb7810d1e0a758b1d9c751a3 SHA512 adc34f20e73ae91c39acb073f70f0041a4a0726985fc5e5de34ae433996b3f719ca4193cce51efc6599ba1773ad63fee045a8d72b6bd8a036c188d762626fe57 DIST mac-fdisk_0.1-16.diff.gz 19896 BLAKE2B 9383a22fb02f44d23802dd57acdf3e956c68aad17927030395f03c0422237fb6420430277b3bd512b8267ce0e36dee7b19355820fb5005db646bc21748221ced SHA512 deb44217afae097594e14dea6cd128f6cb1e8ed6e62e646d2aa311508ea27d164c94187e8eb1f1d018ee6044346f6785770981a655b6ad536dbbce550df13359 +DIST mac-fdisk_0.1-18.diff.gz 20267 BLAKE2B 111e5b18c1485b33cfb2f653846e901a528e65207d705f024bb4ba1e181881913fc79cc2bf94c536e0bd2f88f9169d25f2a64c0d1464844a2ebb8e24f1554a61 SHA512 5774e86e1770873cbccb80a79941c6bf917ac1df62f722805b1c4eae0a76b318b3df36ed39ac16d8b051e771603cc42a13feeaadd451343f6a21703e07e58c11 DIST mac-fdisk_0.1.orig.tar.gz 55817 BLAKE2B d193be6b06be562bcb3297300dc009ac28adba41ea5d7c1a5bc0d16b8f9ec8275e1ad015c9bc529c3aafd12cbd9012e1af7baef7259ce0c8cef4d6dc62986dec SHA512 1263e60a18111162f5ef439b5f9615cef9de94e7836cb998782a6e6d3bcf92a69e49566b33c7330bdea05de5e6ca83f7920c6707f342ce515440160695f07120 diff --git a/sys-fs/mac-fdisk/mac-fdisk-0.1_p18.ebuild b/sys-fs/mac-fdisk/mac-fdisk-0.1_p18.ebuild new file mode 100644 index 000000000000..4860ff66c37e --- /dev/null +++ b/sys-fs/mac-fdisk/mac-fdisk-0.1_p18.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2018 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +inherit toolchain-funcs + +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 +PATCHES=( + "${WORKDIR}"/${PN}_${PV/_p*}-${PV/*_p}.diff + "${FILESDIR}"/largerthan2gb.patch + "${FILESDIR}"/${PN}-0.1-headers.patch + ### Patch for bug #142737 + "${FILESDIR}"/${PN}-0.1_p16-ppc64.patch + ### Patch for building on amd64 + "${FILESDIR}"/${PN}-amd64.patch + ### Patch for large (>550GB disks) + ### Note that >=2TB disks may not work due to limitations of the Mac + ### Partition Table structure, this needs to be investigated + "${FILESDIR}"/big_pt.patch + "${FILESDIR}"/${PN}-0.1_p16-ppc-inline.patch +) + +src_compile() { + emake CC="$(tc-getCC)" +} + +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 debian/changelog README HISTORY +} |