void-packages/srcpkgs/mongoose/template
2020-05-02 16:23:02 +02:00

30 lines
722 B
Bash

# Template file for 'mongoose'
pkgname=mongoose
version=6.17
revision=1
build_style=gnu-makefile
make_use_env=compliant
makedepends="libressl-devel"
short_desc="Easy to use Web server"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-2.0-only"
homepage="https://cesanta.com/"
distfiles="https://github.com/cesanta/mongoose/archive/${version}.tar.gz"
checksum=5bff3cc70bb2248cf87d06a3543f120f3b29b9368d25a7715443cb10612987cc
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
}
}