SUMMARY="Create and extract files from DOS .ARC files"
DESCRIPTION="This archiver let's you create and extract files in the old DOS \
.ARC format."
HOMEPAGE="http://arc.sourceforge.net/" 
LICENSE="GNU GPL v2"
COPYRIGHT="1985-2009 Thom Henderson"
SOURCE_URI="http://sourceforge.net/projects/arc/files/arc/arc-5.21p/arc-5.21p.tar.gz"
CHECKSUM_SHA256="eacf870a245f155a4ba8c6f8e0fbb2e8a267aafa157f56ba7a8cb1d74fd8b5a1"
REVISION="1"
ARCHITECTURES="x86 ?x86_gcc2 ?x86_64"

PATCHES="arc-5.21p.patchset"

PROVIDES="
	arc = $portVersion
	cmd:arc = $portVersion
	cmd:marc = $portVersion
	"
REQUIRES="
	haiku
	"
BUILD_PREREQUIRES="
	haiku_devel
	"
BUILD_REQUIRES="
	cmd:make
	cmd:gcc
	"

BUILD()
{
	make $jobArgs
}

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