void-packages/srcpkgs/libmowgli/template

28 lines
772 B
Bash

# Template file for 'libmowgli'
pkgname=libmowgli
version=2.1.3
revision=5
wrksrc="${pkgname}-2-${version}"
build_style=gnu-configure
hostmakedepends="pkg-config"
makedepends="libressl-devel"
short_desc="Performance and usability-oriented extensions to C"
maintainer="Juan RP <xtraeme@voidlinux.org>"
license="MIT"
homepage="https://github.com/atheme/libmowgli-2"
distfiles="https://github.com/atheme/libmowgli-2/archive/v${version}.tar.gz"
checksum=b7faab2fb9f46366a52b51443054a2ed4ecdd04774c65754bf807c5e9bdda477
post_install() {
vlicense COPYING
}
libmowgli-devel_package() {
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
}
}