36 lines
1.1 KiB
Plaintext
36 lines
1.1 KiB
Plaintext
# Template build file for "chroot-git".
|
|
pkgname=chroot-git
|
|
version=1.8.5.2
|
|
revision=1
|
|
bootstrap=yes
|
|
wrksrc="git-$version"
|
|
conflicts="git>=0"
|
|
provides="git-${version}_${revision}"
|
|
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"
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
|
homepage="http://git-scm.com/"
|
|
license="GPL-2"
|
|
distfiles="http://git-core.googlecode.com/files/git-$version.tar.gz"
|
|
checksum=024694524b8be91fe29afca65bc3a9e40de1322dd5ef2b2c0babb6849c913e8a
|
|
|
|
if [ "$CHROOT_READY" ]; then
|
|
hostmakedepends="perl"
|
|
else
|
|
configure_args+=" --with-zlib=${XBPS_MASTERDIR}/usr"
|
|
fi
|
|
|
|
post_install() {
|
|
# remove unneeded stuff.
|
|
rm -rf ${DESTDIR}/usr/share/gitweb
|
|
rm -rf ${DESTDIR}/usr/share/man
|
|
rm -rf ${DESTDIR}/usr/share/perl5
|
|
}
|