forked from rosa/hakurei
internal/rosa/package: migrate bzip2, curl, connman
Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
47
internal/rosa/package/curl.az
Normal file
47
internal/rosa/package/curl.az
Normal file
@@ -0,0 +1,47 @@
|
||||
package curl {
|
||||
description = "command line tool and library for transferring data with URLs";
|
||||
website = "https://curl.se";
|
||||
anitya = 381;
|
||||
|
||||
version* = "8.20.0";
|
||||
source = remoteTar {
|
||||
url = "https://curl.se/download/curl-"+version+".tar.bz2";
|
||||
checksum = "xyHXwrngIRGMasuzhn-I5MSCOhktwINbsWt1f_LuR-5jRVvyx_g6U1EQfDLEbr9r";
|
||||
compress = bzip2;
|
||||
};
|
||||
|
||||
// remove broken test
|
||||
writable = true;
|
||||
early = "\nchmod +w tests/data && rm -f tests/data/test459\n";
|
||||
|
||||
exec = make {
|
||||
configure = {
|
||||
"with-openssl";
|
||||
"with-ca-bundle": "/system/etc/ssl/certs/ca-bundle.crt";
|
||||
|
||||
"disable-smb";
|
||||
};
|
||||
|
||||
check = [
|
||||
"TFLAGS=" + jobsLFlagE,
|
||||
"test-nonflaky",
|
||||
];
|
||||
};
|
||||
|
||||
inputs = [
|
||||
perl,
|
||||
python,
|
||||
pkg-config,
|
||||
diffutils,
|
||||
|
||||
libpsl,
|
||||
openssl,
|
||||
];
|
||||
|
||||
runtime = [
|
||||
zlib,
|
||||
zstd,
|
||||
libpsl,
|
||||
openssl,
|
||||
];
|
||||
}
|
||||
Reference in New Issue
Block a user