Files
haikuports/sys-apps/gptfdisk/gptfdisk-1.0.1.recipe
fbrosson b6b2d09d3e gptfdisk: bump to version 1.0.1.
* Bump version.
* Add {lib,devel}:libpopt to {,BUILD_}REQUIRES.
* Set ARCHITECTURES to "x86_gcc2 x86 x86_64" instead of "!x86_gcc2".
* Add cmd:{cgdisk,fixparts,gdisk,sgdisk} to PROVIDES.
* Do not "make install" in INSTALL() because there is no such target
  in the makefile and, instead, call cmd:install.
* Fix patch to avoid including a missing sys/disk.h in support.h.
* Add patch to make diskio-unix.cc accept character devices on Haiku.
* Add patch to use the correct CRC32 polynom on big-endian machines
  in case someone wants to build and try Haiku on ppc.
2016-04-09 03:13:25 +00: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="1"
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
}