Python: updated including dependencies
This commit is contained in:
+5
-16
@@ -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
|
||||
}
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user