Files
haikuports/sys-apps/gptfdisk/gptfdisk-1.0.1.recipe
Jerome Duval fc0936b040 Bump revisions for x86_64 rebuild after time_t change.
* a few apps needed build fix for time_t.
* disable compatibility packages for x86_64.
2017-06-27 15:46:25 +02:00

62 lines
1.5 KiB
Bash

SUMMARY="Text-mode tools for GUID Partition Table (GPT) disks"
DESCRIPTION="GPT fdisk (consisting of the gdisk, cgdisk, sgdisk, and fixparts \
programs) is a set of text-mode partitioning tools loosely modeled on Linux \
fdisk. The gdisk, cgdisk and sgdisk programs work on Globally Unique \
Identifier (GUID) Partition Table (GPT) disks, rather than on Master Boot \
Record (MBR) partition tables, but may also be used on MBR disks to convert \
them to GPT. The fixparts program repairs certain types of damage to MBR disks \
and enables changing partition types from primary to logical and vice-versa."
HOMEPAGE="http://www.rodsbooks.com/gdisk/"
COPYRIGHT="2013-2015 Rod Smith"
LICENSE="GNU GPL v2"
REVISION="2"
SOURCE_URI="https://downloads.sf.net/gptfdisk/gptfdisk-$portVersion.tar.gz"
CHECKSUM_SHA256="864c8aee2efdda50346804d7e6230407d5f42a8ae754df70404dd8b2fdfaeac7"
PATCHES="gptfdisk-$portVersion.patchset"
ARCHITECTURES="x86_gcc2 x86 x86_64"
PROVIDES="
gptfdisk = $portVersion
cmd:cgdisk
cmd:fixparts
cmd:gdisk
cmd:sgdisk
"
REQUIRES="
haiku
lib:libuuid
lib:libncurses
lib:libpopt
"
BUILD_REQUIRES="
haiku_devel
devel:libuuid
devel:libncurses
devel:libpopt
"
BUILD_PREREQUIRES="
cmd:g++
cmd:install
cmd:make
"
BUILD()
{
make $jobArgs
}
INSTALL()
{
install -d -m 755 $sbinDir $docDir $manDir/man8
install -t $sbinDir -c -m 555 -s cgdisk gdisk sgdisk fixparts
install -t $docDir -c -m 444 README COPYING
install -t $manDir/man8 -c -m 444 *.8
}
TEST()
{
make test
}