void-packages/srcpkgs/libmowgli/template

28 lines
738 B
Bash

# Template file for 'libmowgli'
pkgname=libmowgli
version=2.1.3
revision=8
build_style=gnu-configure
hostmakedepends="pkg-config"
makedepends="openssl-devel"
short_desc="Performance and usability-oriented extensions to C"
maintainer="Orphaned <orphan@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"
}
}