void-packages/srcpkgs/tab/template

21 lines
599 B
Bash

# Template file for 'tab'
pkgname=tab
version=4.0
revision=1
wrksrc="tkatchev-tab-94c0265aaa8d"
short_desc="Shell language for text/number manipulation"
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
license="Boost Software License 1.0"
homepage="http://tkatchev.bitbucket.org/tab/"
distfiles="https://bitbucket.org/tkatchev/${pkgname}/get/${version}.tar.bz2"
checksum=bf660c48a8fcabc8b5ecfa4c34c9e4fdd20611413b098a63c63b2a4538371a38
do_build() {
${CXX} ${CXXFLAGS} -std=c++11 -Wall -Iaxe *.cc -o tab ${LDFLAGS} -pthread -lm
}
do_install() {
vbin tab
vlicense LICENSE.txt LICENSE
}