void-packages/srcpkgs/mac-fdisk/template

34 lines
778 B
Bash

# Template file for 'mac-fdisk'
pkgname=mac-fdisk
version=0.1
revision=2
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
CFLAGS="-D_GNU_SOURCE"
case "$XBPS_TARGET_MACHINE" in
arm*|aarch64*|mips*) broken=yes;;
esac
do_check() {
:
}
do_install() {
vbin fdisk mac-fdisk
vbin pdisk pmac-fdisk
cp -pf mac-fdisk.8.in mac-fdisk.8
cp -pf pmac-fdisk.8.in pmac-fdisk.8
vman mac-fdisk.8
vman pmac-fdisk.8
}