diff options
author | davidovski <david@davidovski.xyz> | 2022-05-18 23:40:38 +0100 |
---|---|---|
committer | davidovski <david@davidovski.xyz> | 2022-05-18 23:40:38 +0100 |
commit | 0b977787374349328a21af0deade30d534cf3978 (patch) | |
tree | 3c2be28ef9a6f74a36f21cd48a34cb06b3080960 /repo/system/libaio/libaio.xibuild | |
parent | dccab9b94dcfc5e040647210ba22b9cc4bddc742 (diff) |
fixed gcc loader/linker errors
Diffstat (limited to 'repo/system/libaio/libaio.xibuild')
-rw-r--r-- | repo/system/libaio/libaio.xibuild | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/repo/system/libaio/libaio.xibuild b/repo/system/libaio/libaio.xibuild new file mode 100644 index 0000000..6c9b45f --- /dev/null +++ b/repo/system/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 () { + CFLAGS="-Wgnu-designator" 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/{} \; + +} |