SUMMARY="Create & extract files from DOS .ARC files"
DESCRIPTION="
Create & extract files from DOS .ARC files
"
HOMEPAGE="http://arc.sourceforge.net/" 
LICENSE="GNU GPL v2"
COPYRIGHT="1985-2009 Thom Henderson"
SRC_URI="http://sourceforge.net/projects/arc/files/arc/arc-5.21p/arc-5.21p.tar.gz"
CHECKSUM_MD5="902ce24b23422880d474df6f1d9eba5e"
REVISION="1"
ARCHITECTURES="x86 ?x86_gcc2 ?x86_64"

PATCHES="arc-5.21p.patchset"

PROVIDES="
	arc = $portVersion
	cmd:arc = $portVersion
	cmd:marc = $portVersion
	"

REQUIRES="
	haiku >= $haikuVersion
	"

BUILD_PREREQUIRES="
	haiku_devel >= $haikuVersion
	"

BUILD_REQUIRES="
	cmd:make
	cmd:gcc
	"

BUILD()
{
	make
}

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