void-packages/srcpkgs/gptfdisk/template
2011-10-05 09:14:14 +02:00

37 lines
1.1 KiB
Text

# Template file for 'gptdisk'
pkgname=gptfdisk
version=0.8.1
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=cec2d32784f7e2c64125d3afdc95c9c127be86213c414d0479e46f9fcd660eac
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
}