28 lines
753 B
Bash
28 lines
753 B
Bash
# Template file for 'ck'
|
|
pkgname=ck
|
|
version=0.7.0
|
|
revision=1
|
|
build_style=configure
|
|
configure_args="--prefix=/usr --platform=${XBPS_TARGET_MACHINE%-musl}"
|
|
short_desc="Concurrency Kit C library"
|
|
maintainer="Tai Chi Minh Ralph Eastwood <tcmreastwood@gmail.com>"
|
|
license="BSD-2-Clause"
|
|
homepage="http://concurrencykit.org/"
|
|
distfiles="https://github.com/concurrencykit/ck/archive/${version}.tar.gz"
|
|
checksum=e730cb448fb0ecf9d19bf4c7efe9efc3c04dd9127311d87d8f91484742b0da24
|
|
|
|
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"
|
|
vmove usr/share/man/man3
|
|
}
|
|
}
|