diff options
Diffstat (limited to 'internal')
| -rw-r--r-- | internal/rosa/package/mandoc.az | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/internal/rosa/package/mandoc.az b/internal/rosa/package/mandoc.az new file mode 100644 index 00000000..30b29abb --- /dev/null +++ b/internal/rosa/package/mandoc.az @@ -0,0 +1,38 @@ +package mandoc { + description = "unix manpage compiler"; + website = "https://mandoc.bsd.lv"; + anitya = 70874; + + version# = "1.14.6"; + source = remoteTar { + url = "https://mandoc.bsd.lv/snapshots/mandoc-"+version+".tar.gz"; + checksum = "wYDRywggIL1cd82yt09-bgvBbZ0IAYtlF4yK3_jq3bz9b6mjWuiXBsxUxZQiD2lM"; + compress = gzip; + }; + + enterSource = true; + writable = true; + chmod = true; + exec = make { + chdir = false; + preConfigure = ` +cat > configure.local << EOF +PREFIX=`+prefix+` +UTF8_LOCALE=C.UTF-8 +EOF +`; + preMake = ` +cat >> Makefile.local << EOF +CC = ${CC:-clang} +EOF +`; + check = [ "regress" ]; + }; + + inputs = [ zlib ]; + + tools = [ + perl, + diffutils, + ]; +} |
