1 include $(TOPDIR
)/rules.mk
7 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.bz2
8 PKG_SOURCE_URL
:=https
://git.kernel.dk
/cgit
/liburing
/snapshot
9 PKG_HASH
:=319ff9096a5655362a9741c5145b45494db810e38679a1de82e2f440c17181a6
11 PKG_MAINTAINER
:=Christian Lachner
<gladiac@gmail.com
>
13 PKG_LICENSE_FILES
:=COPYING
18 include $(INCLUDE_DIR
)/package.mk
20 define Package
/liburing
23 TITLE
:=io_uring library
24 URL
:=https
://git.kernel.dk
/cgit
/liburing
25 DEPENDS
:=@KERNEL_IO_URING
28 define Package
/liburing
/description
29 liburing provides helpers to setup and teardown io_uring instances
,
30 and also a simplified interface for applications that don
't need
31 (or want) to deal with the full kernel side implementation.
32 For more info on io_uring, please see: https://kernel.dk/io_uring.pdf
35 CONFIGURE_ARGS:=--prefix=$(CONFIGURE_PREFIX) --cc="${TARGET_CC}"
38 $(MAKE) $(PKG_BUILD_DIR) \
39 DSTROOT="$(PKG_INSTALL_DIR)"
42 define Build/InstallDev
43 $(INSTALL_DIR) $(1)/usr/include/
44 $(CP) $(PKG_INSTALL_DIR)/usr/include/* $(1)/usr/include/
45 $(INSTALL_DIR) $(1)/usr/lib/
46 $(CP) $(PKG_INSTALL_DIR)/usr/lib/*.{so*,a} $(1)/usr/lib/
47 $(INSTALL_DIR) $(1)/usr/lib/pkgconfig/
48 $(INSTALL_DATA) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/liburing.pc $(1)/usr/lib/pkgconfig/
49 $(SED) 's
,/usr
/include,$$$${prefix}/include,g
' $(1)/usr/lib/pkgconfig/liburing.pc
50 $(SED) 's
,/usr
/lib
,$$$${prefix}/lib
,g
' $(1)/usr/lib/pkgconfig/liburing.pc
53 define Package/liburing/install
54 $(INSTALL_DIR) $(1)/usr/lib/
55 $(CP) $(PKG_INSTALL_DIR)/usr/lib/liburing.so $(PKG_INSTALL_DIR)/usr/lib/liburing.so.* $(1)/usr/lib/
58 $(eval $(call BuildPackage,liburing))