aboutsummaryrefslogtreecommitdiffhomepage
path: root/internal/rosa/package/error-standalone.az
blob: d89b6b1a57086a36056ca46bde169425f94c4890 (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
package error-standalone {
	description = "standalone <error.h> implementation intended for musl";
	website = "https://hacktivis.me/git/error-standalone";

	version# = "2.0";
	source = remoteGit {
		url = "https://anongit.hacktivis.me/git/error-standalone.git";
		tag = version;
		checksum = "qUwsBQk_kTeF9ae_OFvqICv5L64kxWw0JIpMUj8AyVxyxb6-mRhvD-Ks1LrLSV7l";
	};

	enterSource = true;
	writable = true;
	exec = make {
		chdir = false;
		configure = nil;
		make = [
			"PREFIX="+prefix,
			`CFLAGS="${CFLAGS:-} -fPIC"`,
		];
		install = "make install-static PREFIX="+prefix+" DESTDIR=/work";
		check = [ "test-error" ];
	};

	unlikely = true;
}