void-packages/srcpkgs/libasr/template

38 lines
883 B
Bash
Raw Normal View History

2014-12-25 18:46:00 +01:00
# Template file for 'libasr'
pkgname=libasr
2015-06-04 10:47:26 +02:00
version=1.0.2
revision=2
2014-12-25 18:46:00 +01:00
build_style=gnu-configure
hostmakedepends="automake libtool"
makedepends="libressl-devel"
2014-12-25 18:46:00 +01:00
short_desc="Simple and portable asynchronous resolver library"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
2014-12-25 18:46:00 +01:00
license="ISC, BSD"
homepage="https://www.opensmtpd.org/"
distfiles="https://github.com/OpenSMTPD/${pkgname}/archive/${pkgname}-${version}.tar.gz"
checksum=4ab54264206e255fd6c2de982764bb5ce7857ec8f649ad3ee45771244593b6e1
wrksrc="${pkgname}-${pkgname}-${version}"
case "$XBPS_TARGET_MACHINE" in
*-musl) ;;
*) CFLAGS="$CFLAGS -DHAVE_RES_RANDOMID"
esac
pre_configure() {
./bootstrap
}
2014-12-25 18:46:00 +01:00
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
}
}