void-packages/srcpkgs/mongoose/template

31 lines
722 B
Bash

# Template file for 'mongoose'
pkgname=mongoose
version=6.14
revision=1
build_style=gnu-makefile
make_use_env=compliant
makedepends="libressl-devel"
short_desc="Easy to use Web server"
maintainer="Juan RP <xtraeme@voidlinux.org>"
license="GPL-2.0-only"
homepage="https://cesanta.com/"
distfiles="https://github.com/cesanta/mongoose/archive/${version}.tar.gz"
checksum=f11d2fb23eec08ee5d95da600649177b9bdcf9eaa6be407d997b174e271e4d78
mongoose-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.so"
}
}
mongoose-doc_package() {
archs=noarch
short_desc+=" - documentation"
pkg_install() {
vmove usr/share
}
}