SUMMARY="POSIX-compliant implementation of /bin/sh"
DESCRIPTION="Dash is a POSIX-compliant implementation of /bin/sh that aims to \
be as small as possible. It does this without sacrificing speed where \
possible. In fact, it is significantly faster than bash (the GNU Bourne-Again \
Shell) for most tasks."
HOMEPAGE="http://gondor.apana.org/~herbert/dash/"
SOURCE_URI="http://gondor.apana.org/~herbert/dash/files/dash-0.5.7.tar.gz"
CHECKSUM_SHA256="ae89fa9f1145b7748cf0740e1df04cd52fdf8a285da4911dd0f04983efba4e39"
REVISION="2"
LICENSE="GNU GPL v3"
COPYRIGHT="1989-1994 The Regents of the University of California
	1997 Christos Zoulas
	1997-2005 Herbert Xu"

ARCHITECTURES="x86_gcc2 x86 x86_64"

PROVIDES="
	dash = $portVersion
	cmd:dash = $portVersion
	"
REQUIRES="
	haiku
	lib:libreadline
	lib:libncursesw
	"
BUILD_REQUIRES="
	haiku_devel
	"
BUILD_PREREQUIRES="
	cmd:gcc
	cmd:awk
	cmd:make
	"

BUILD()
{
	runConfigure ./configure
	make $jobArgs LIBS=-lbsd
}

INSTALL()
{
	make install
}
