29 lines
734 B
Bash
29 lines
734 B
Bash
# Template file for 'mac-fdisk'
|
|
pkgname=mac-fdisk
|
|
version=0.1
|
|
revision=1
|
|
wrksrc=${pkgname}-${version}.orig
|
|
build_style=gnu-makefile
|
|
short_desc="Format and edit Apple Partition Map drives"
|
|
maintainer="Thomas Batten <stenstorpmc@gmail.com>"
|
|
license="GPL-2.0-or-later"
|
|
homepage="https://packages.debian.org/sid/mac-fdisk"
|
|
distfiles="http://deb.debian.org/debian/pool/main/m/mac-fdisk/mac-fdisk_${version}.orig.tar.gz"
|
|
checksum=7059fc4ba41ca2ef857e1092e9c56e910f27693d407b5c3d78f7102ad0c56a66
|
|
|
|
case "$XBPS_TARGET_MACHINE" in
|
|
arm*|aarch64*|mips*) broken=yes;;
|
|
esac
|
|
|
|
case "$XBPS_TARGET_MACHINE" in
|
|
*-musl) CFLAGS+=" -Dloff_t=off_t"
|
|
esac
|
|
|
|
do_install() {
|
|
vbin fdisk mac-fdisk
|
|
vbin pdisk pmac-fdisk
|
|
|
|
vman mac-fdisk.8
|
|
vman pmac-fdisk.8
|
|
}
|