diff options
| author | Ophestra <cat@gensokyo.uk> | 2026-05-20 03:14:11 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2026-05-20 03:33:15 +0900 |
| commit | ef414ab01a28b61ef01766c3dd28ed2342f5ab75 (patch) | |
| tree | 314a8f471c8c052da0936549ecac2d052f52932a /internal/rosa/package/libpsl.az | |
| parent | 96abf266dd8bbbb4ea65c74a3f84f2461a6021a7 (diff) | |
internal/rosa/package: migrate many libraries
This also adds more string helpers.
Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'internal/rosa/package/libpsl.az')
| -rw-r--r-- | internal/rosa/package/libpsl.az | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/internal/rosa/package/libpsl.az b/internal/rosa/package/libpsl.az new file mode 100644 index 00000000..dc3d4fb9 --- /dev/null +++ b/internal/rosa/package/libpsl.az @@ -0,0 +1,25 @@ +package libpsl { + description = "provides functions to work with the Mozilla Public Suffix List"; + website = "https://rockdaboot.github.io/libpsl"; + anitya = 7305; + + version* = "0.21.5"; + source = remoteGitHubRelease { + suffix = "rockdaboot/libpsl"; + tag = version; + name = "libpsl-"+version+".tar.gz"; + checksum = "XjfxSzh7peG2Vg4vJlL8z4JZJLcXqbuP6pLWkrGCmRxlnYUFTKNBqWGHCxEOlCad"; + compress = gzip; + }; + + writable = true; + early = ` +test_disable() { chmod +w "$2" && echo "$1" > "$2"; } + +test_disable 'int main(){return 0;}' tests/test-is-public-builtin.c +`; + + exec = make {}; + + inputs = [ python ]; +} |
