# Template file for 'heirloom-sh'
pkgname=heirloom-sh
version=050706
revision=2
short_desc="A portable variant of the traditional Unix shell"
maintainer="allan <mail@may.mooo.com>"
license="Caldera OpenSolaris"
homepage="http://heirloom.sourceforge.net/sh.html"
distfiles="$SOURCEFORGE_SITE/heirloom/$pkgname/$version/$pkgname-$version.tar.bz2"
checksum="25fb8409e1eb75bb5da21ca32baf2d5eebcb8b84a1288d66e65763a125809e1d"
register_shell="/bin/heirloom-sh"

do_build() {
	make CC=$CC CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS" ${makejobs}
}
do_install() {
	vbin sh heirloom-sh
	vman sh.1.out heirloom-sh.1
	vlicense CALDERA.LICENSE
	vlicense OPENSOLARIS.LICENSE
}
