SUMMARY="Converts CD .bin/.cue formats to .iso and .cdr"
DESCRIPTION="
binchunker converts a CD image in a '.bin / .cue' format (sometimes '.raw / \
.cue') to a set of .iso and .cdr tracks. The bin/cue format is used by some \
popular non-Unix cd-writing software, but is not supported on most other CD \
burning programs. A lot of CD/VCD images distributed on the Internet are in \
BIN/CUE format, I've been told.
"
LICENSE="GNU GPL v2"
COPYRIGHT="1998-2004 Heikki Hannikainen"
HOMEPAGE="http://he.fi/bchunk/"
SOURCE_URI="http://he.fi/bchunk/bchunk-1.2.0.tar.gz"
CHECKSUM_SHA256="afdc9d5e38bdd16f0b8b9d9d382b0faee0b1e0494446d686a08b256446f78b5d"
REVISION="2"
ARCHITECTURES="x86 x86_gcc2 x86_64"

PROVIDES="
	bchunk = $portVersion
	cmd:bchunk = $portVersion
	"

REQUIRES="
	haiku
	"

BUILD_REQUIRES="
	haiku_devel
	"

BUILD_PREREQUIRES="
	cmd:make
	cmd:gcc
	"

BUILD()
{
	make
}

INSTALL()
{
	mkdir -p $binDir
	cp -af bchunk $binDir
	mkdir -p $manDir/man1
	cp -af bchunk.1 $manDir/man1
}
