void-packages/srcpkgs/gptfdisk/template

31 lines
903 B
Plaintext

# Template file for 'gptdisk'
pkgname=gptfdisk
version=0.8.2
distfiles="${SOURCEFORGE_SITE}/$pkgname/$pkgname-$version.tar.gz"
short_desc="GPT fdisk text-mode partitioning tool"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://www.rodsbooks.com/gdisk/"
license="GPL-2"
checksum=b1159027ca459661f04bc3bac8e79381895933ee214c4d6dba49b7d27204e5d3
long_desc="
GPT fdisk (aka gdisk) is a text-mode partitioning tool for Intel-based Linux
that works on Globally Unique Identifier (GUID) Partition Table (GPT) disks,
rather than on the more common (through 2009) Master Boot Record (MBR)
partition tables."
Add_dependency build popt-devel
Add_dependency build icu-devel
Add_dependency build libuuid-devel
do_build() {
make ${makejobs}
}
do_install() {
for f in gdisk sgdisk fixparts; do
vinstall ${f} 755 sbin
[ ! -r "${f}.8" ] && continue
vinstall ${f}.8 644 usr/share/man/man8
done
}