void-packages/srcpkgs/mongoose/template
maxice8 19ed8e7497 mongoose: update to 6.9.
Closes: #8024 [via git-merge-pr]
2017-10-15 16:57:43 -07:00

29 lines
701 B
Bash

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