aboutsummaryrefslogtreecommitdiffhomepage
path: root/internal/rosa/package/elfutils/package.az
diff options
context:
space:
mode:
Diffstat (limited to 'internal/rosa/package/elfutils/package.az')
-rw-r--r--internal/rosa/package/elfutils/package.az50
1 files changed, 50 insertions, 0 deletions
diff --git a/internal/rosa/package/elfutils/package.az b/internal/rosa/package/elfutils/package.az
new file mode 100644
index 00000000..89db25ff
--- /dev/null
+++ b/internal/rosa/package/elfutils/package.az
@@ -0,0 +1,50 @@
+package elfutils {
+ description = "utilities and libraries to handle ELF files and DWARF data";
+ website = "https://sourceware.org/elfutils";
+ anitya = 5679;
+
+ version# = "0.196";
+ source = remoteTar {
+ url = "https://sourceware.org/elfutils/ftp/"+
+ version+"/elfutils-"+version+".tar.bz2";
+ checksum = "TzY1z0jDRofYNxhEsElwgzSKWUy2Hb6RSzm_8ni-peGKmZWLJUqefZItJtw-ZvHj";
+ compress = bzip2;
+ };
+ patches = [ "64e89606ff4967a647525524aec00dd33765ba2a.patch" ];
+
+ env = [
+ "CC=cc" +
+ // nonstandard glibc extension
+ " -DFNM_EXTMATCH=0",
+ ];
+
+ exec = make {
+ configure = {
+ "enable-deterministic-archives";
+ };
+
+ // nonstandard glibc extension
+ check = nil;
+ };
+
+ inputs = [
+ m4,
+ pkgconf,
+
+ zlib,
+ bzip2,
+ zstd,
+ argp-standalone,
+ musl-fts,
+ musl-obstack,
+ kernel-headers,
+ ];
+
+ runtime = [
+ zlib,
+ bzip2,
+ zstd,
+ musl-fts,
+ musl-obstack,
+ ];
+}