void-packages/srcpkgs/clac/template

22 lines
611 B
Bash
Raw Normal View History

2017-07-03 17:08:28 +02:00
# Template file for 'clac'
pkgname=clac
version=0.3.0
2017-07-11 17:23:15 +02:00
revision=2
2017-07-03 17:08:28 +02:00
build_style=gnu-makefile
short_desc="Interactive command line, stack-based calculator"
maintainer="Leah Neukirchen <leah@vuxu.org>"
license="2-clause-BSD"
homepage="https://github.com/soveran/clac"
distfiles="https://github.com/soveran/${pkgname}/archive/${version}.tar.gz"
checksum=a7a2397fdbac93924ca83c72e2df2027029f54c8921b813230208dd167ed0c20
do_build() {
${CC} ${CFLAGS} -o clac -I deps/sds -I deps/linenoise \
2017-07-03 17:10:36 +02:00
clac.c deps/sds/sds.c deps/linenoise/linenoise.c ${LDFLAGS} -lm
2017-07-03 17:08:28 +02:00
}
do_install() {
vbin clac
vman clac.1
2017-07-11 17:23:15 +02:00
vlicense LICENSE
2017-07-03 17:08:28 +02:00
}