27 lines
675 B
Bash
27 lines
675 B
Bash
# Template file for 'libco'
|
|
pkgname=libco
|
|
version=20
|
|
revision=1
|
|
build_style=gnu-makefile
|
|
short_desc="Cooperative multithreading library written in C89"
|
|
maintainer="Julio Galvan <juliogalvan@protonmail.com>"
|
|
license="ISC"
|
|
homepage="https://github.com/canonical/libco"
|
|
distfiles="https://github.com/canonical/libco/archive/v${version}.tar.gz"
|
|
checksum=6d6d6ada15a36224ee4aa59b8361c4b90f1ffb6c077b4932aa6e6344ee91be0e
|
|
|
|
post_install() {
|
|
vlicense LICENSE
|
|
}
|
|
|
|
libco-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"
|
|
}
|
|
}
|