Python: updated including dependencies

This commit is contained in:
2025-05-23 14:28:51 +02:00
parent ed0b200a79
commit 1996b245c3
15 changed files with 199 additions and 114 deletions
+5 -16
View File
@@ -1,24 +1,13 @@
#!/usr/bin/env modbuild
pbuild::set_download_url "https://www.openssl.org/source/$P-$V.tar.gz"
# use system gcc to compile
declare -rx CC=gcc
#declare -rx CC=gcc
pbuild::add_to_group 'Tools'
pbuild::compile_in_sourcetree
pbuild::pre_configure_Darwin() {
pbuild::add_configure_args 'darwin64-x86_64-cc'
}
pbuild::pre_configure_Linux() {
pbuild::add_configure_args 'linux-x86_64'
}
pbuild::configure() {
pbuild::configure(){
export CFLAGS='-fPIC'
"${SRC_DIR}"/Configure shared --prefix="${PREFIX}" "${CONFIGURE_ARGS[@]}" \
local -r os=$(uname -s)
local -r machine=$(uname -m)
"${SRC_DIR}"/Configure shared --prefix="${PREFIX}" "${os,,}-${machine}" \
|| exit 1
}
+43
View File
@@ -0,0 +1,43 @@
---
format: 1
openssl:
defaults:
group: Tools
overlay: base
relstage: stable
compile_in_sourcetree: true
urls:
- url: https://www.openssl.org/source/$P-$V.tar.gz
shasums:
versions:
3.4.1:
config:
docfiles:
- ACKNOWLEDGEMENTS.md
- AUTHORS.md
- CHANGES.md
- CODE-OF-CONDUCT.md
- CONTRIBUTING.md
- HACKING.md
- INSTALL.md
- LICENSE.txt
- NEWS.md
- NOTES-ANDROID.md
- NOTES-ANSI.md
- NOTES-DJGPP.md
- NOTES-NONSTOP.md
- NOTES-PERL.md
- NOTES-POSIX.md
- NOTES-UNIX.md
- NOTES-VALGRIND.md
- NOTES-VMS.md
- NOTES-WINDOWS.md
- README-ENGINES.md
- README-FIPS.md
- README-PROVIDERS.md
- README-QUIC.md
- README.md
- SUPPORT.md
build_requires:
- perl/5.40.1