New package: libco-20.

This commit is contained in:
Julio Galvan 2019-07-16 16:48:32 -07:00 committed by Juan RP
parent 8ba4321289
commit 8bf7bfc983
3 changed files with 28 additions and 0 deletions

View File

@ -3745,3 +3745,4 @@ libigdgmm.so.11 intel-gmmlib-19.4.1_1
libgtk-layer-shell.so.0 wf-shell-0.3_1
librdkafka.so.1 librdkafka-1.3.0_1
librdkafka++.so.1 librdkafka-1.3.0_1
libco.so.0 libco-20_1

1
srcpkgs/libco-devel Symbolic link
View File

@ -0,0 +1 @@
libco

26
srcpkgs/libco/template Normal file
View File

@ -0,0 +1,26 @@
# 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"
}
}