2016-01-18 19:14:42 +00:00
|
|
|
# Template file for 'libmill'
|
|
|
|
pkgname=libmill
|
2017-01-05 08:13:23 +00:00
|
|
|
version=1.18
|
2016-03-05 05:53:43 +00:00
|
|
|
revision=1
|
2016-01-18 19:14:42 +00: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"
|
2017-01-05 08:13:23 +00:00
|
|
|
checksum=ff6903cd05f45c4cc050921d03201a93d2723ab59c480eb924f8f1ca8c6f0614
|
2016-01-18 19:14:42 +00:00
|
|
|
|
|
|
|
pre_configure() {
|
2016-02-22 12:01:11 +00:00
|
|
|
export CFLAGS="${CFLAGS/-D_FORTIFY_SOURCE=?/}"
|
2016-08-04 13:56:46 +00:00
|
|
|
autoreconf -fi
|
2016-02-22 12:01:11 +00:00
|
|
|
}
|
2016-01-18 19:14:42 +00: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
|
|
|
|
}
|
|
|
|
}
|