void-packages/srcpkgs/libdill/template
maxice8 7c7710faf5 libdill: update to 2.5.
Closes: #12077 [via git-merge-pr]
2018-03-06 22:29:20 -08:00

37 lines
961 B
Bash

# Template file for 'libdill'
pkgname=libdill
version=2.5
revision=1
build_style=gnu-configure
hostmakedepends="automake libtool"
short_desc="Structured concurrency library for C"
maintainer="Tai Chi Minh Ralph Eastwood <tcmreastwood@gmail.com>"
license="MIT"
homepage="http://libdill.org/"
distfiles="https://github.com/sustrik/libdill/archive/${version}.tar.gz"
checksum=896c82f47597ca1643f776c0141c4e352582d8739d1628caa2e406a1070c92f4
case "$XBPS_TARGET_MACHINE" in
i686*) broken="https://build.voidlinux.eu/builders/i686_builder/builds/7735/steps/shell_3/logs/stdio" ;;
esac
pre_configure() {
export CFLAGS="${CFLAGS/-D_FORTIFY_SOURCE=?/}"
autoreconf -fi
}
post_install() {
vlicense COPYING
}
libdill-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
vmove "usr/share/man/man3/*.3"
}
}