29 lines
710 B
Bash
29 lines
710 B
Bash
# Template file for 'mongoose'
|
|
pkgname=mongoose
|
|
version=6.12
|
|
revision=1
|
|
build_style=gnu-makefile
|
|
make_use_env=compliant
|
|
makedepends="libressl-devel"
|
|
short_desc="An Easy to use Web server"
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
|
license="GPL-2.0-only"
|
|
homepage="https://cesanta.com/"
|
|
distfiles="https://github.com/cesanta/mongoose/archive/${version}.tar.gz"
|
|
checksum=cde4f61bf541c0df7507c5f138d0068fc643aea19ab3241414db2e659b71ddb3
|
|
|
|
mongoose-devel_package() {
|
|
depends="${sourcepkg}>=${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
|
|
}
|
|
}
|