### this file is sourced not run
PKGVER=2.4
PKGBUILD=1
PKGARCH=x86_64

# source: james
TARBALL=liburing-$PKGVER.tar.gz
MD5SUM=b83a3b7430fae444c7843c2a4b91d2f5
SRC_URL=https://github.com/axboe/liburing/archive/refs/tags/$TARBALL
BUNDLE=

SLACKREQ=
SLACKDESC="liburing: liburing $PKGVER (io_uring userspace library)
liburing: 
liburing: This is the io_uring library, liburing. liburing provides helpers to 
liburing: setup and teardown io_uring instances, and also a simplified 
liburing: interface for applications that don't need (or want) to deal with the 
liburing: full kernel side implementation. For more info on io_uring, please 
liburing: see: https://kernel.dk/io_uring.pdf
liburing: 
liburing: https://github.com/axboe/liburing
liburing: 
liburing: 
"

### default pkg_download
### default pkg_prepare
### default pkg_package
### build
pkg_build() {
	cd /tmp/liburing* &&
	./configure \
		--prefix=/usr \
		--libdir=/usr/$LIBDIR \
		--libdevdir=/usr/$LIBDIR \
		--mandir=/usr/share/man \
		--cc="gcc -fPIC"  \
		--cxx="g++ -fPIC" \
	&&
	make &&  make install &&
	pkg_build_slackdesc
}


