void-packages/srcpkgs/squirrel/template

34 lines
777 B
Bash

# Template file for 'squirrel'
pkgname=squirrel
version=3.2
revision=1
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() {
vmkdir usr
vcopy include usr
vmove usr/lib/*.so
vmove usr/lib/*.a
}
}