summaryrefslogtreecommitdiff
path: root/repo/libaio/libaio.xibuild
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-05-31 11:05:19 +0100
committerdavidovski <david@davidovski.xyz>2022-05-31 11:05:19 +0100
commit48ca75555522716f0f686dcae3dd6cf3d8ad714d (patch)
tree00c0f58550ba4661e87376f2f02c8001c69bae44 /repo/libaio/libaio.xibuild
parent871b2b573f01c1b3176a0f65458b3d281b41c437 (diff)
removed idea of repos
Diffstat (limited to 'repo/libaio/libaio.xibuild')
-rw-r--r--repo/libaio/libaio.xibuild30
1 files changed, 30 insertions, 0 deletions
diff --git a/repo/libaio/libaio.xibuild b/repo/libaio/libaio.xibuild
new file mode 100644
index 0000000..56102d9
--- /dev/null
+++ b/repo/libaio/libaio.xibuild
@@ -0,0 +1,30 @@
+#!/bin/sh
+
+NAME="libaio"
+DESC="Asynchronous input/output library"
+
+MAKEDEPS="make "
+DEPS="musl "
+
+PKG_VER=0.3.112
+SOURCE="https://releases.pagure.org/libaio/libaio-$PKG_VER.tar.gz"
+ADDITIONAL="test.patch test-poll.patch libaio-optional-werror.patch libaio-errno.patch libaio-cppflags.patch gnudesignator.patch"
+
+prepare () {
+ apply_patches
+}
+
+build () {
+ make PREFIX=/usr
+}
+
+check() {
+ make partcheck
+}
+
+package () {
+ make PREFIX=/usr DESTDIR=$PKG_DEST install
+ cd man
+ find ./ -name "*.3" -exec install -Dm 644 {} "$PKG_DEST"/usr/share/man/man3/{} \;
+
+}