void-packages/srcpkgs/mongoose/template
Đoàn Trần Công Danh 22aeaac1f2 mongoose: remove noarch
2020-11-29 11:30:26 +07:00

29 lines
708 B
Bash

# Template file for 'mongoose'
pkgname=mongoose
version=6.18
revision=3
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=f5c10346abc9c72f7cac7885d853ca064fb09aad57580433941a8fd7a3543769
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
}
}