New package: es-0.9beta1

This commit is contained in:
Christian Neukirchen 2015-05-07 21:45:26 +02:00
parent f56befea62
commit b440c5a31b

30
srcpkgs/es/template Normal file
View file

@ -0,0 +1,30 @@
# Template file for 'es'
pkgname=es
version=0.9beta1
revision=1
wrksrc="${pkgname}-${version/beta/-beta}"
build_style=gnu-configure
build_pie=yes
configure_args="--with-readline"
hostmakedepends="bison"
makedepends="readline-devel"
short_desc="Functional shell with rc-inspired syntax"
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
license="Public Domain"
homepage="http://hawkwind.cs.toronto.edu:8001/mlists/es.html"
distfiles="ftp://ftp.sys.utoronto.ca/pub/${pkgname}/${pkgname}-${version/beta/-beta}.tar.gz"
checksum=4085cd7a958fe8753abc026ed1450bd8fac4c70b753a650c5c3618bbe80d082b
nocross=yes
post_extract() {
sed -i '/_STDLIB_H/d' parse.y
sed -i 's/CLK_TCK/CLOCKS_PER_SEC/g' prim-sys.c
sed -i -e 's/va_arg(format->args, short)/va_arg(format->args, int)/' \
-e 's/format->args = saveargs/memcpy(format->args, saveargs, sizeof(va_list));/' print.c
}
do_install() {
vbin es
vbin esdebug
vman es.1
}