finally skip perl & openssl docs

This commit is contained in:
2026-02-21 18:39:02 +01:00
parent 917ffadc6a
commit 2113e5155b
5 changed files with 52 additions and 4 deletions

View File

@@ -9,6 +9,8 @@
(blake3 "90c0c093c5f09397f840cce374e4e6f56134727ac0867aaeccb5314aa3196544")))
(build
(shell "./Configure linux-x86_64 shared --prefix=/usr --libdir=lib")
(make)
(make
(do_install no))
(shell "make install_sw")
(shell "cp -v /usr/lib/libssl.so.3 /lib/x86_64-linux-gnu/libssl.so.3 || true")
(shell "cp -v /usr/lib/libcrypto.so.3 /lib/x86_64-linux-gnu/libcrypto.so.3 || true")))

12
packages/libsodium.shrap Normal file
View File

@@ -0,0 +1,12 @@
(package
(name "libsodium")
(version "1.0.21-stable")
(homepage "https://libsodium.gitbook.io/doc")
(dependencies make)
(src (tar
(url "https://download.libsodium.org/libsodium/releases/libsodium-1.0.21-stable.tar.gz")
(dir "libsodium-stable")
(blake3 "cba92d24061a7853a5735797e58165d5008f75de96a75ee2feea636e2e6e5762")))
(build
(configure_make
(configure_flags "--disable-shared"))))

14
packages/mkp224o.shrap Normal file
View File

@@ -0,0 +1,14 @@
(package
(name "mkp224o")
(version "1.7.0")
(homepage "https://github.com/cathugger/mkp224o")
(dependencies libsodium)
(src (tar
(url "https://github.com/cathugger/mkp224o/releases/download/v1.7.0/mkp224o-1.7.0-src.tar.gz")
(dir "mkp224o-1.7.0")
(blake3 "a3f2a27c57a623cb67de62b52808a76005891f000295c7267506f448f3d32622")))
(build
(configure_make
(configure_flags "--enable-amd64-64-24k --enable-intfilter")
(do_install no))
(shell "mv -v mkp224o /usr/bin/")))

View File

@@ -8,5 +8,5 @@
(dir "perl-5.42.0")
(blake3 "9d3e6aee850d69fb90c629a9e435da75f67c9ee0461d6e3e2c100e64f27fa9a5")))
(build
(shell "./Configure -des")
(shell "./Configure -des -DNO_POD2MAN=1 -DNO_POD2HTML=1")
(make)))

View File

@@ -133,11 +133,29 @@ void install_package(const std::string &name, DB &db) {
} catch (std::out_of_range &) {
}
bool do_install = true;
try {
if (step.get_one("do_install").value == "no") {
do_install = false;
}
} catch (std::out_of_range &) {
}
Util::shell_command("./configure --prefix=/usr " + configure_flags,
src_path);
Util::shell_command("make -j " + jobs, src_path);
Util::shell_command("make install", src_path);
if (do_install) {
Util::shell_command("make install", src_path);
}
} else if (step_type == "make") {
bool do_install = true;
try {
if (step.get_one("do_install").value == "no") {
do_install = false;
}
} catch (std::out_of_range &) {
}
std::string make_flags;
try {
make_flags = step.get_one("make_flags").value;
@@ -150,7 +168,9 @@ void install_package(const std::string &name, DB &db) {
}
Util::shell_command("make " + make_flags + " -j " + jobs, src_path);
Util::shell_command("make install " + install_flags, src_path);
if (do_install) {
Util::shell_command("make install " + install_flags, src_path);
}
} else if (step_type == "cmake") {
std::string configure_flags;
try {