30 lines
703 B
Bash
30 lines
703 B
Bash
# Template file for 'mongoose'
|
|
pkgname=mongoose
|
|
version=6.11
|
|
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=74ee598bb0eba87780becb56586e4342d1b9a85282c53a11cb5ef87d2b66256b
|
|
|
|
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
|
|
}
|
|
}
|