heirloom-sh: build with our {C,LD}FLAGS; use register_shell.

This commit is contained in:
Juan RP 2014-12-21 07:10:06 +01:00
parent 8fdb566e94
commit 824b0c4a15
1 changed files with 5 additions and 2 deletions

View File

@ -1,15 +1,18 @@
# Template file for 'heirloom-sh'
pkgname=heirloom-sh
version=050706
revision=1
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/project/heirloom/$pkgname/$version/$pkgname-$version.tar.bz2"
checksum="25fb8409e1eb75bb5da21ca32baf2d5eebcb8b84a1288d66e65763a125809e1d"
build_style=gnu-makefile
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