void-packages/srcpkgs/mongoose/template
2017-11-04 15:44:16 +01:00

29 lines
702 B
Bash

# Template file for 'mongoose'
pkgname=mongoose
version=6.10
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=5fce9129042c19a2ee8cd21ceadb95d884e0b660261ab274c16c03ff51a6d46e
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
}
}