summaryrefslogtreecommitdiff
path: root/package/libaio/Makefile
diff options
context:
space:
mode:
authorPhil Sutter <phil@nwl.cc>2021-11-02 03:24:57 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2021-11-04 02:09:56 +0100
commit5d0e5231fae54be06322e27f784a63d8f9571776 (patch)
tree71dd2fdf7746cae93ea9b584b45f8aafb89c663d /package/libaio/Makefile
parent6166352feae3509a24fa7dcc617da54ca5c1b9bd (diff)
package: Port libaio
This is required by a more recent version of lvm package. Signed-off-by: Phil Sutter <phil@nwl.cc>
Diffstat (limited to 'package/libaio/Makefile')
-rw-r--r--package/libaio/Makefile28
1 files changed, 28 insertions, 0 deletions
diff --git a/package/libaio/Makefile b/package/libaio/Makefile
new file mode 100644
index 000000000..9c6b4d3b3
--- /dev/null
+++ b/package/libaio/Makefile
@@ -0,0 +1,28 @@
+# This file is part of the OpenADK project. OpenADK is copyrighted
+# material, please see the LICENCE file in the top-level directory.
+
+include $(ADK_TOPDIR)/rules.mk
+
+PKG_NAME:= libaio
+PKG_VERSION:= 0.3.112
+PKG_RELEASE:= 1
+PKG_HASH:= b7cf93b29bbfb354213a0e8c0e82dfcf4e776157940d894750528714a0af2272
+PKG_DESCR:= Asynchronous input/output library that uses the kernels native interface
+PKG_SECTION:= libs/misc
+PKG_URL:= https://pagure.io/libaio
+PKG_SITES:= https://pagure.io/libaio/archive/libaio-${PKG_VERSION}/
+
+DISTFILES:= $(PKG_NAME)-$(PKG_NAME)-$(PKG_VERSION).tar.gz
+WRKDIST= $(WRKDIR)/$(PKG_NAME)-$(PKG_NAME)-$(PKG_VERSION)
+
+include $(ADK_TOPDIR)/mk/package.mk
+
+$(eval $(call PKG_template,LIBAIO,libaio,$(PKG_VERSION)-$(PKG_RELEASE),$(PKG_DEPENDS),$(PKG_DESCR),$(PKG_SECTION)))
+
+CONFIG_STYLE:= manual
+
+libaio-install:
+ $(INSTALL_DIR) $(IDIR_LIBAIO)/usr/lib
+ ${CP} ${WRKINST}/usr/lib/libaio*.so* ${IDIR_LIBAIO}/usr/lib
+
+include $(ADK_TOPDIR)/mk/pkg-bottom.mk