void-packages/srcpkgs/libmill/template

32 lines
700 B
Bash

# Template file for 'libmill'
pkgname=libmill
version=1.5
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=800888e4741f86620a53665147c4d308bb85082d9ee1d112bfc28af925d1f5f1
pre_configure() {
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
}
}