1c5f4690e6
That means that version comparators are not supported anymore in hostmakedepends and makedepends. This will ensure that a pkg is always built with the same build dependencies everywhere, if the srcpkgs tree is uptodate.
26 lines
666 B
Bash
26 lines
666 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@gmail.com>"
|
|
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
|
|
}
|
|
}
|