void-packages/srcpkgs/tab/template

27 lines
648 B
Bash

# Template file for 'tab'
pkgname=tab
version=9.0
revision=1
wrksrc="tkatchev-tab-95a2e7a0d12d"
checkdepends="python3"
short_desc="Shell language for text/number manipulation"
maintainer="Leah Neukirchen <leah@vuxu.org>"
license="BSL-1.0"
homepage="http://tkatchev.bitbucket.io/tab/"
distfiles="https://bitbucket.org/tkatchev/${pkgname}/get/${version}.tar.bz2"
checksum=1df7244af5db044fc4a6a38f2aa22e040246580bddd89bccb64d3967699d01d1
do_build() {
${CXX} ${CXXFLAGS} -std=c++11 -Wall -Iaxe *.cc -o tab ${LDFLAGS} -pthread -lm
}
do_check() {
( cd test; python go.py; )
}
do_install() {
vbin tab
vlicense LICENSE.txt LICENSE
vdoc README.md
}