void-packages/srcpkgs/liburing/template

31 lines
831 B
Bash

# Template file for 'liburing'
pkgname=liburing
version=2.4
revision=1
build_style=configure
configure_args="--mandir=/usr/share/man"
make_build_args="-C src"
short_desc="Linux-native io_uring I/O access library"
maintainer="Dragon Friend <friend-dragon@proton.me>"
license="LGPL-2.1-only"
homepage="https://git.kernel.dk/cgit/liburing"
changelog="https://git.kernel.dk/cgit/liburing/plain/CHANGELOG"
distfiles="https://git.kernel.dk/cgit/liburing/snapshot/liburing-${version}.tar.gz"
checksum=b5fbb1f6d65d88a8b37cbf3f5d4a7fa38d1d9e928a83df79c6469ed816bbcacc
do_check() {
make -C test
}
liburing-devel_package() {
short_desc+=" - development files"
depends="liburing-${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
vmove usr/share/man
}
}