void-packages/srcpkgs/libmowgli/template
2018-03-04 08:29:06 +00:00

28 lines
771 B
Bash

# Template file for 'libmowgli'
pkgname=libmowgli
version=2.1.3
revision=2
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.eu>"
homepage="https://github.com/atheme/libmowgli-2"
license="MIT"
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"
}
}