37 lines
807 B
Bash
37 lines
807 B
Bash
# Template file for 'libmill'
|
|
pkgname=libmill
|
|
version=1.7
|
|
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=e34b67fad256935b65f8e516564533b5546262de6c319161752a3e7641eeff2a
|
|
|
|
pre_configure() {
|
|
autoreconf -fi
|
|
}
|
|
|
|
do_configure() {
|
|
export CFLAGS="${CFLAGS/-D_FORTIFY_SOURCE=?/}"
|
|
${configure_script} ${configure_args}
|
|
}
|
|
|
|
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
|
|
}
|
|
}
|