void-packages/srcpkgs/termbox/template

27 lines
652 B
Bash

# Template file for 'termbox'
pkgname=termbox
version=1.1.2
revision=1
build_style=waf
hostmakedepends="python"
short_desc="Library for writing text-based user interfaces"
maintainer="Diogo Leal <diogo@diogoleal.com>"
license="MIT"
homepage="https://github.com/nsf/termbox/"
distfiles="https://github.com/nsf/termbox/archive/v${version}.tar.gz"
checksum=61c9940b42b3ac44bf0cba67eacba75e3c02088b8c695149528c77def04d69b1
post_install() {
vlicense COPYING
}
termbox-devel_package() {
short_desc+=" - development files"
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include/
vmove usr/lib/*.a
vmove usr/lib/*.so
}
}