void-packages/srcpkgs/rc/template

28 lines
825 B
Text
Raw Normal View History

2014-07-01 18:31:22 +00:00
# Template file for 'rc'
pkgname=rc
2014-09-02 14:55:24 +00:00
version=1.7.2
revision=1
2014-07-01 18:31:22 +00:00
build_style=gnu-configure
2014-09-02 14:55:24 +00:00
configure_args="ac_cv_sys_restartable_syscalls=no
$(vopt_if readline --with-edit=gnu)
$(vopt_if libedit --with-edit=bsd)"
makedepends="$(vopt_if readline readline-devel)
$(vopt_if libedit libedit-devel)"
2014-07-18 15:33:14 +00:00
register_shell="/bin/rc"
2014-07-01 18:31:22 +00:00
short_desc="An alternative implementation of the plan 9 rc shell"
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
license="custom"
homepage="http://tobold.org/article/rc"
distfiles="http://static.tobold.org/$pkgname/$pkgname-$version.tar.gz"
2014-09-02 14:55:24 +00:00
checksum=04e762d15cccb3c3191a0f40e5158f176a21707f89cb9e0b04c8085ea7246be5
build_options="readline libedit static"
build_options_default="readline"
pre_configure() {
if [ "$build_option_static" ]; then
CFLAGS+=" -static"
LDFLAGS+=" -static"
fi
}