void-packages/srcpkgs/gptfdisk/template

29 lines
689 B
Text

# Template file for 'gptdisk'
pkgname=gptfdisk
version=0.8.6
revision=1
makedepends="ncurses-devel popt-devel icu-devel>=49 libuuid-devel"
short_desc="GPT fdisk text-mode partitioning tool"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://www.rodsbooks.com/gdisk/"
license="GPL-2"
distfiles="${SOURCEFORGE_SITE}/$pkgname/$pkgname-$version.tar.gz"
checksum=4579cd54842459699970e24720dda7fb0aa217027818623089c321bc62a647b2
do_build() {
make ${makejobs}
}
do_install() {
for f in cgdisk gdisk sgdisk fixparts; do
vinstall ${f} 755 usr/sbin
[ ! -r "${f}.8" ] && continue
vinstall ${f}.8 644 usr/share/man/man8
done
}
gptfdisk_package() {
pkg_install() {
vmove usr
}
}