void-packages/srcpkgs/libmowgli/template
2017-04-11 18:54:30 +02:00

28 lines
771 B
Bash

# Template file for 'libmowgli'
pkgname=libmowgli
version=2.1.0
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=46ef60c642c457a5d0e36bfc8c277e74d2ebf4ab9cbc4e40153781ed4ab0fe7d
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"
}
}