26 lines
652 B
Bash
26 lines
652 B
Bash
# Template file for 'termbox'
|
|
pkgname=termbox
|
|
version=1.1.0
|
|
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=2743ee4aeb0ff39fadbaf945b76c43e6f6bba544156f2576282b775a3067d748
|
|
|
|
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
|
|
}
|
|
}
|