aboutsummaryrefslogtreecommitdiffhomepage
path: root/internal/rosa/package/libaio.az
blob: b7982869938e9b59db34282a14700eee55614370 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
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,
	];
}