internal/rosa/package: migrate many libraries

This also adds more string helpers.

Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
2026-05-20 03:14:11 +09:00
parent 96abf266dd
commit ef414ab01a
36 changed files with 479 additions and 595 deletions

View File

@@ -0,0 +1,25 @@
package libgd {
description = "an open source code library for the dynamic creation of images";
website = "https://libgd.github.io";
anitya = 880;
version* = "2.3.3";
source = remoteGitHubRelease {
suffix = "libgd/libgd";
tag = "gd-"+version;
name = "libgd-"+version+".tar.gz";
checksum = "8T-sh1_FJT9K9aajgxzh8ot6vWIF-xxjcKAHvTak9MgGUcsFfzP8cAvvv44u2r36";
compress = gzip;
};
env = [
"TMPDIR=/dev/shm/gd",
];
early = "\nmkdir /dev/shm/gd\n";
exec = make {};
inputs = [ zlib ];
runtime = [ zlib ];
}