0b0326b4c8
upstream stopped using it with the release of 1.0.3
34 lines
825 B
Bash
34 lines
825 B
Bash
# Template file for 'libasr'
|
|
pkgname=libasr
|
|
version=1.0.4
|
|
revision=1
|
|
build_style=gnu-configure
|
|
hostmakedepends="automake libtool"
|
|
short_desc="Simple and portable asynchronous resolver library"
|
|
maintainer="Leah Neukirchen <leah@vuxu.org>"
|
|
license="BSD-2-Clause"
|
|
homepage="https://www.opensmtpd.org/"
|
|
distfiles="https://github.com/OpenSMTPD/${pkgname}/releases/download/${version}/${pkgname}-${version}.tar.gz"
|
|
checksum=19fb6bed10d15c9775c8d008cd1130155917ae4e801c729fe85e6d88a545dab4
|
|
|
|
if [ "$XBPS_TARGET_LIBC" != "musl" ]; then
|
|
CFLAGS="-DHAVE_RES_RANDOMID"
|
|
fi
|
|
|
|
pre_configure() {
|
|
./bootstrap
|
|
}
|
|
|
|
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
|
|
}
|
|
}
|