2011-07-10 21:10:38 +00:00
|
|
|
# Template file for 'gptdisk'
|
|
|
|
pkgname=gptfdisk
|
2011-10-05 07:14:14 +00:00
|
|
|
version=0.8.1
|
2011-07-10 21:10:38 +00:00
|
|
|
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"
|
2011-10-05 07:14:14 +00:00
|
|
|
checksum=cec2d32784f7e2c64125d3afdc95c9c127be86213c414d0479e46f9fcd660eac
|
2011-07-10 21:10:38 +00:00
|
|
|
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
|
|
|
|
}
|