chroot-git: cross-compile

This commit is contained in:
Đoàn Trần Công Danh 2020-04-22 22:33:52 +07:00
parent 08e5cef014
commit 77ea0f30d9

View file

@ -5,8 +5,8 @@ revision=1
bootstrap=yes
wrksrc="git-${version}"
build_style=gnu-configure
configure_args="--with-zlib=$XBPS_MASTERDIR/usr --without-curl
--without-openssl --without-python --without-expat --without-tcltk
configure_args="--without-curl --without-openssl
--without-python --without-expat --without-tcltk
ac_cv_lib_curl_curl_global_init=no ac_cv_lib_expat_XML_ParserCreate=no"
makedepends="zlib-devel"
short_desc="GIT Tree History Storage Tool -- for xbps-src use"
@ -18,6 +18,8 @@ checksum=6d65132471df9e531807cb2746f8be317e22a343b9385bbe11c9ce7f0d2fc848
if [ "$CHROOT_READY" ]; then
hostmakedepends="perl tar"
else
configure_args+=" --with-zlib=${XBPS_MASTERDIR}/usr"
fi
post_configure() {