void-packages/srcpkgs/gptfdisk/template

38 lines
1.1 KiB
Text
Raw Normal View History

2011-07-10 21:10:38 +00:00
# Template file for 'gptdisk'
pkgname=gptfdisk
version=0.7.2
distfiles="${SOURCEFORGE_SITE}/$pkgname/$pkgname-$version.tar.gz"
build_style=custom-install
short_desc="GPT fdisk text-mode partitioning tool"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://www.rodsbooks.com/gdisk/"
license="GPL-2"
checksum=d4dcdfdcbaf57ffb435b71a5a67b91d18bcf57e8e965c1324cc267012e2ea5c4
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 run libgcc
Add_dependency run glibc
Add_dependency run libstdc++
Add_dependency run popt
Add_dependency run icu-libs
Add_dependency run libuuid
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
}