void-packages/srcpkgs/libasr/template

27 lines
669 B
Bash

# Template file for 'libasr'
pkgname=libasr
version=1.0.1
revision=2
build_style=gnu-configure
makedepends="libressl-devel"
short_desc="Simple and portable asynchronous resolver library"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="ISC, BSD"
homepage="https://www.opensmtpd.org/"
distfiles="https://www.opensmtpd.org/archives/${pkgname}-${version}.tar.gz"
checksum=262471e312d623e4951a133ed4c16a74d57f0a02554ca4ed7b4b575456620182
post_install() {
vlicense LICENCE
}
libasr-devel_package() {
short_desc+=" - development files"
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/*.a
vmove usr/lib/*.so
}
}