2016-01-18 20:14:42 +01:00
|
|
|
# Template file for 'libmill'
|
|
|
|
pkgname=libmill
|
2016-05-11 06:48:09 +02:00
|
|
|
version=1.11
|
2016-03-05 06:53:43 +01:00
|
|
|
revision=1
|
2016-01-18 20:14:42 +01:00
|
|
|
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"
|
2016-05-11 06:48:09 +02:00
|
|
|
checksum=51388a3395a383f7bb750029a3b86bc5dd05f5fe30c917c6dca9b4643a74da5d
|
2016-01-18 20:14:42 +01:00
|
|
|
|
|
|
|
pre_configure() {
|
|
|
|
autoreconf -fi
|
|
|
|
}
|
|
|
|
|
2016-02-22 13:01:11 +01:00
|
|
|
do_configure() {
|
|
|
|
export CFLAGS="${CFLAGS/-D_FORTIFY_SOURCE=?/}"
|
|
|
|
${configure_script} ${configure_args}
|
|
|
|
}
|
|
|
|
|
2016-01-18 20:14:42 +01:00
|
|
|
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
|
|
|
|
}
|
|
|
|
}
|