aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--internal/rosa/package/libaio.az37
1 files changed, 37 insertions, 0 deletions
diff --git a/internal/rosa/package/libaio.az b/internal/rosa/package/libaio.az
new file mode 100644
index 00000000..b7982869
--- /dev/null
+++ b/internal/rosa/package/libaio.az
@@ -0,0 +1,37 @@
+package libaio {
+ description = "kernel asynchronous I/O (AIO) support";
+ website = "https://lse.sourceforge.net/io/aio.html";
+ anitya = 1557;
+
+ version# = "0.3.113";
+ source = remoteTar {
+ url = "https://pagure.io/libaio/archive/libaio-"+version+
+ "/libaio-libaio-"+version+".tar.gz";
+ compress = gzip;
+ checksum = "vUATfur4I3D742vjRhiGMLYDCm-blbsymb3JTUiM3RV5HIEWi0wDBiPqh7jJpMWd";
+ };
+
+ enterSource = true;
+ writable = true;
+ chmod = true;
+
+ env = [ "PATH=/system/sbin" ];
+ bin = [ "bash" ];
+ exec = make {
+ inPlace = true;
+ skipConfigure = true;
+ preCheck = "rm harness/cases/20.t; "+ // flaky
+ "CFLAGS='"+
+ "-Wno-unknown-warning-option "+
+ "-Wno-gnu-designator "+
+ "-Wno-#warnings' ";
+ check = [ "partcheck" ];
+ install = "make prefix=/work/system install";
+ };
+
+ inputs = [
+ bash,
+ e2fsprogs,
+ kernel-headers,
+ ];
+}