void-packages/srcpkgs/squirrel/template

34 lines
790 B
Bash

# Template file for 'squirrel'
pkgname=squirrel
version=3.2
revision=3
build_style=cmake
short_desc="Squirrel Programming Language"
maintainer="Wilson Birney <wpb@360scada.com>"
license="MIT"
homepage="http://www.squirrel-lang.org/"
distfiles="https://github.com/albertodemichelis/squirrel/archive/v${version}.tar.gz>${pkgname}-${version}.tar.gz"
checksum=02805414cfadd5bbb921891d3599b83375a40650abd6404a8ab407dc5e86a996
post_install() {
vlicense COPYRIGHT
}
squirrel-libs_package() {
short_desc+=" - runtime libraries"
pkg_install() {
vmove usr/lib/*.so.*
}
}
squirrel-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/cmake
vmove "usr/lib/*.so"
vmove "usr/lib/*.a"
}
}