SUMMARY="The HA archiver using the HSC compression method"
DESCRIPTION="
The HA archiver using the HSC compression method
"
LICENSE="GNU GPL v2"
COPYRIGHT="1993-1995 Harri Hirvola"
HOMEPAGE="https://code.google.com/p/ak-various-projects/"
SRC_URI="https://ak-various-projects.googlecode.com/files/ha0999.tgz"
CHECKSUM_SHA256="641417d256f645c92fe1ee042b9c133b5173d33d540af99ed4932f7d79a30228"
REVISION="1"
ARCHITECTURES="x86 ?x86_gcc2 ?x86_64"

PROVIDES="
	ha = $portVersion
	cmd:ha = $portVersion
	"

REQUIRES="
	haiku >= $haikuVersion
	"

BUILD_REQUIRES="
	haiku_devel >= $haikuVersion
	"

BUILD_PREREQUIRES="
	cmd:make
	cmd:gcc
	"

# This is intentionally empty to make haikuporter happy with the
# way the source tarball is packaged
SOURCE_DIR=""

BUILD()
{
	make -f makefile.nix
}

INSTALL()
{
	mkdir -p $binDir
	cp -af ha $binDir
}
