void-packages/srcpkgs/libdill/template
maxice8 6236ce07a0 libdill: update to 1.7.
Closes: #10258 [via git-merge-pr]
2017-12-31 12:41:40 +01:00

31 lines
780 B
Bash

# Template file for 'libdill'
pkgname=libdill
version=1.7
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=5bf994baa7b25e94002209832fb46ca1670673ed319f8c879946d327e9725a62
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
}
}