void-packages/srcpkgs/liburing/template

31 lines
831 B
Bash

# Template file for 'liburing'
pkgname=liburing
version=2.5
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=96a04054158a89d02c28eadc7cc7db5ac0d8049120f9cb78765e961a312ca2e3
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
}
}