# Template file for 'ck'
pkgname=ck
version=0.6.0
revision=1
build_style=configure
configure_args="--prefix=/usr"
short_desc="Concurrency Kit C library"
maintainer="Tai Chi Minh Ralph Eastwood <tcmreastwood@gmail.com>"
license="2-clause-BSD"
homepage="http://concurrencykit.org/"
distfiles="https://github.com/concurrencykit/ck/archive/${version}.tar.gz"
checksum=d7e27dd0a679e45632951e672f8288228f32310dfed2d5855e9573a9cf0d62df
nocross="configure assumes no crossing, when patched: armv7l-linux-gnueabihf-gcc: error: unrecognized command line option '-m64'"

post_install() {
	vlicense LICENSE
}

ck-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
	}
}
