void-packages/srcpkgs/mongoose/template
2019-10-03 09:02:43 +02:00

30 lines
722 B
Bash

# Template file for 'mongoose'
pkgname=mongoose
version=6.16
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=1f20f2781862560ddf3203dfb0e6fcf248a68bf92aefbeafb9d2a629c4767c02
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
}
}