void-packages/srcpkgs/libmill/template
2016-11-02 11:25:19 +01:00

31 lines
748 B
Bash

# Template file for 'libmill'
pkgname=libmill
version=1.17
revision=1
build_style=gnu-configure
hostmakedepends="automake libtool"
short_desc="Go-style concurrency in C"
maintainer="Duncaen <duncaen@voidlinux.eu>"
license="MIT"
homepage="http://libmill.org/"
distfiles="https://github.com/sustrik/libmill/archive/${version}.tar.gz"
checksum=de35e459c4f459325962301337da1399f6ee808f1d399624172ba86a4b96aa74
pre_configure() {
export CFLAGS="${CFLAGS/-D_FORTIFY_SOURCE=?/}"
autoreconf -fi
}
post_install() {
vlicense COPYING
}
libmill-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
}
}