Skip to content
Snippets Groups Projects
Verified Commit f31064ca authored by Jeremy Soller's avatar Jeremy Soller
Browse files

Update pkgutils

parent 529f4f16
No related branches found
No related tags found
No related merge requests found
Subproject commit 4908c5e486afca3371b20245b50a21a9eeeef084 Subproject commit 7297400ba80310df28f9a8df27ae4c65efafc596
...@@ -3,7 +3,14 @@ TAR=https://www.kernel.org/pub/software/scm/git/git-$VERSION.tar.xz ...@@ -3,7 +3,14 @@ TAR=https://www.kernel.org/pub/software/scm/git/git-$VERSION.tar.xz
BUILD_DEPENDS=(zlib curl openssl expat) BUILD_DEPENDS=(zlib curl openssl expat)
DEPENDS="ca-certificates" DEPENDS="ca-certificates"
MAKEFLAGS="NO_MMAP=1 NEEDS_SSL_WITH_CURL=1 NEEDS_CRYPTO_WITH_SSL=1 NO_UNIX_SOCKETS=1 NEEDS_LIBICONV= NEEDS_LIBRT= BLK_SHA1=1" MAKEFLAGS=(
NEEDS_SSL_WITH_CURL=1
NEEDS_CRYPTO_WITH_SSL=1
NO_UNIX_SOCKETS=1
NEEDS_LIBICONV=
NEEDS_LIBRT=
BLK_SHA1=1
)
function recipe_version { function recipe_version {
echo "$VERSION" echo "$VERSION"
...@@ -19,8 +26,15 @@ function recipe_build { ...@@ -19,8 +26,15 @@ function recipe_build {
sysroot="$(realpath ../sysroot)" sysroot="$(realpath ../sysroot)"
export LDFLAGS="-L$sysroot/lib" export LDFLAGS="-L$sysroot/lib"
export CPPFLAGS="-I$sysroot/include" export CPPFLAGS="-I$sysroot/include"
./configure --build=${BUILD} --host=${HOST} --prefix=/ ac_cv_fread_reads_directories=yes ac_cv_snprintf_returns_bogus=yes ac_cv_lib_curl_curl_global_init=yes CURL_CONFIG=no ./configure \
make ${MAKEFLAGS} -j"$(nproc)" --build="${BUILD}" \
--host="${HOST}" \
--prefix=/ \
ac_cv_fread_reads_directories=yes \
ac_cv_snprintf_returns_bogus=yes \
ac_cv_lib_curl_curl_global_init=yes \
CURL_CONFIG=no
make "${MAKEFLAGS[@]}" -j"$(nproc)"
skip=1 skip=1
} }
...@@ -36,7 +50,7 @@ function recipe_clean { ...@@ -36,7 +50,7 @@ function recipe_clean {
function recipe_stage { function recipe_stage {
dest="$(realpath $1)" dest="$(realpath $1)"
make DESTDIR="$dest" ${MAKEFLAGS} install make DESTDIR="$dest" "${MAKEFLAGS[@]}" install
${STRIP} $1/bin/* || true ${STRIP} $1/bin/* || true
${STRIP} $1/libexec/git-core/* || true ${STRIP} $1/libexec/git-core/* || true
rm -rf $1/share/man rm -rf $1/share/man
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment