mirror of
https://github.com/fosslinux/live-bootstrap.git
synced 2026-03-23 03:26:31 +01:00
fix(steps-guix/git): add static-libcurl build path with configure check patch
This commit is contained in:
parent
7ed755a106
commit
ddbe55b76b
4 changed files with 73 additions and 0 deletions
46
steps-guix/git-2.53.0/pass1.sh
Normal file
46
steps-guix/git-2.53.0/pass1.sh
Normal file
|
|
@ -0,0 +1,46 @@
|
|||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local host_triplet curl_static_libs
|
||||
host_triplet="$(gcc -dumpmachine)"
|
||||
curl_static_libs="-lcurl -lssl -lcrypto -lz -pthread"
|
||||
|
||||
PATH="${PREFIX}/bin:/usr/bin:/bin" \
|
||||
LIBS="${curl_static_libs}" \
|
||||
./configure \
|
||||
--prefix="${PREFIX}" \
|
||||
--libdir="${LIBDIR}" \
|
||||
--build="${host_triplet}" \
|
||||
--host="${host_triplet}"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
local curl_static_libs
|
||||
curl_static_libs="-lcurl -lssl -lcrypto -lz -pthread"
|
||||
|
||||
make "${MAKEJOBS}" \
|
||||
NO_GETTEXT=YesPlease \
|
||||
NO_TCLTK=YesPlease \
|
||||
NO_PERL=YesPlease \
|
||||
NO_PYTHON=YesPlease \
|
||||
CURL_LDFLAGS="${curl_static_libs}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local curl_static_libs
|
||||
curl_static_libs="-lcurl -lssl -lcrypto -lz -pthread"
|
||||
|
||||
make install \
|
||||
NO_GETTEXT=YesPlease \
|
||||
NO_TCLTK=YesPlease \
|
||||
NO_PERL=YesPlease \
|
||||
NO_PYTHON=YesPlease \
|
||||
CURL_LDFLAGS="${curl_static_libs}" \
|
||||
DESTDIR="${DESTDIR}" \
|
||||
prefix="${PREFIX}" \
|
||||
libdir="${LIBDIR}"
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue