void-packages/srcpkgs/squirrel/template
Wilson Birney 242e628478 New package: squirrel-3.1
Closes: #10314 [via git-merge-pr]
2018-01-01 13:18:55 +01:00

34 lines
831 B
Bash

# Template file for 'squirrel'
pkgname=squirrel
version=3.1
revision=1
build_style=cmake
short_desc="The 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=51942b8638a97b673e34ecf3ca50304996fa99bbdbfa7fe93d9744e6769b2f95
depends="${pkgname}-libs>=${version}_${revision}"
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
}
}