# Template file for 'toluapp'
pkgname=toluapp
version=1.0.93
revision=1
build_style=cmake
hostmakedepends="pkg-config"
makedepends="lua51-devel"
short_desc="Tool to integrate C and C++ code with Lua5.1"
maintainer="Jürgen Buchmüller <pullmoll@t-online.de>"
license="MIT"
homepage="https://github.com/LuaDist/toluapp"
distfiles="https://github.com/LuaDist/toluapp/archive/${version}.tar.gz>${pkgname}-${version}.tar.gz"
checksum=0a1ff87cb74e7531aec57e2a7cfdf282116647dea3b46223e3cc7c362b55b5bb

post_install() {
	vlicense COPYRIGHT
}

toluapp-devel_package() {
	depends="${sourcepkg}>=${version}_${revision}"
	short_desc+=" - development files"
	pkg_install() {
		vmove usr/include
	}
}
