New package: squirrel-3.1

Closes: #10314 [via git-merge-pr]
This commit is contained in:
Wilson Birney 2017-12-31 20:20:08 -05:00 committed by Jürgen Buchmüller
parent 4ec1ac556d
commit 242e628478
4 changed files with 38 additions and 0 deletions

View File

@ -2994,6 +2994,8 @@ librpm.so.7 rpm-4.13.0.2_1
librpmsign.so.7 rpm-4.13.0.2_1
librpmbuild.so.7 rpm-4.13.0.2_1
librpmio.so.7 rpm-4.13.0.2_1
libsquirrel.so.0 squirrel-libs-3.1_1
libsqstdlib.so.0 squirrel-libs-3.1_1
libexecinfo.so.1 libexecinfo-1.1_1
libkdeconnectpluginkcm.so.1 kdeconnect-1.2_1
libkdeconnectinterfaces.so.1 kdeconnect-1.2_1

1
srcpkgs/squirrel-devel Symbolic link
View File

@ -0,0 +1 @@
squirrel

1
srcpkgs/squirrel-libs Symbolic link
View File

@ -0,0 +1 @@
squirrel

34
srcpkgs/squirrel/template Normal file
View File

@ -0,0 +1,34 @@
# 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
}
}