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
2017-10-05 11:37:50 +02:00
version=0.3.1
revision=1
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"
2017-10-05 11:37:50 +02:00
checksum=38cf86f99959d2223f052acfd9e0fecb402a137ebf859a9c64a541b15396e32b
2017-07-03 17:08:28 +02:00
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
}