aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--internal/rosa/package/error-standalone.az26
1 files changed, 26 insertions, 0 deletions
diff --git a/internal/rosa/package/error-standalone.az b/internal/rosa/package/error-standalone.az
new file mode 100644
index 00000000..d89b6b1a
--- /dev/null
+++ b/internal/rosa/package/error-standalone.az
@@ -0,0 +1,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;
+}