2014-07-27 16:27:27 +02:00
|
|
|
# Template build file for "chroot-git".
|
|
|
|
pkgname=chroot-git
|
2016-02-24 07:48:26 +01:00
|
|
|
version=2.7.2
|
2014-07-27 16:27:27 +02:00
|
|
|
revision=1
|
|
|
|
bootstrap=yes
|
|
|
|
wrksrc="git-$version"
|
|
|
|
build_style=gnu-configure
|
|
|
|
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
|
|
|
|
ac_cv_fread_reads_directories=no ac_cv_snprintf_returns_bogus=no"
|
|
|
|
makedepends="zlib-devel"
|
|
|
|
make_build_args="CC_LD_DYNPATH=-L"
|
|
|
|
make_install_args="NO_INSTALL_HARDLINKS=1"
|
|
|
|
short_desc="GIT Tree History Storage Tool -- for xbps-src use"
|
2015-04-10 09:16:30 +02:00
|
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
2014-07-27 16:27:27 +02:00
|
|
|
homepage="http://git-scm.com/"
|
|
|
|
license="GPL-2"
|
|
|
|
distfiles="https://www.kernel.org/pub/software/scm/git/git-${version}.tar.xz"
|
2016-02-24 07:48:26 +01:00
|
|
|
checksum=b20479ce523031c37581b763b4442b25b9d606f2f416049aea4e463dc150cf20
|
2014-07-27 16:27:27 +02:00
|
|
|
|
|
|
|
if [ "$CHROOT_READY" ]; then
|
|
|
|
hostmakedepends="perl"
|
|
|
|
else
|
|
|
|
configure_args+=" --with-zlib=${XBPS_MASTERDIR}/usr"
|
|
|
|
fi
|
|
|
|
|
|
|
|
do_install() {
|
|
|
|
# remove unneeded stuff.
|
|
|
|
make DESTDIR=${wrksrc}/build-tmp install
|
|
|
|
vmkdir usr/bin
|
|
|
|
vbin ${wrksrc}/build-tmp/usr/bin/git chroot-git
|
|
|
|
}
|