2013-03-12 16:50:12 +00:00
|
|
|
# Template build file for "chroot-git".
|
|
|
|
pkgname=chroot-git
|
2014-03-17 10:38:49 +00:00
|
|
|
version=1.9.0
|
2013-03-12 16:50:12 +00:00
|
|
|
revision=1
|
2014-01-01 15:10:11 +00:00
|
|
|
bootstrap=yes
|
2014-01-08 13:02:42 +00:00
|
|
|
wrksrc="git-$version"
|
2014-01-01 15:10:11 +00:00
|
|
|
conflicts="git>=0"
|
2014-01-08 13:02:42 +00:00
|
|
|
provides="git-${version}_${revision}"
|
2013-03-12 16:50:12 +00:00
|
|
|
build_style=gnu-configure
|
2014-01-08 13:02:42 +00:00
|
|
|
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"
|
2013-10-24 08:03:37 +00:00
|
|
|
make_build_args="CC_LD_DYNPATH=-L"
|
2013-03-12 16:50:12 +00:00
|
|
|
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"
|
2014-03-17 10:38:49 +00:00
|
|
|
checksum=de3097fdc36d624ea6cf4bb853402fde781acdb860f12152c5eb879777389882
|
2013-03-12 16:50:12 +00:00
|
|
|
|
2013-03-24 09:21:58 +00:00
|
|
|
if [ "$CHROOT_READY" ]; then
|
|
|
|
hostmakedepends="perl"
|
2014-01-08 13:02:42 +00:00
|
|
|
else
|
|
|
|
configure_args+=" --with-zlib=${XBPS_MASTERDIR}/usr"
|
2013-03-12 16:53:48 +00:00
|
|
|
fi
|
|
|
|
|
2013-03-12 16:50:12 +00:00
|
|
|
post_install() {
|
|
|
|
# remove unneeded stuff.
|
2014-03-17 10:38:49 +00:00
|
|
|
rm -rf ${DESTDIR}/usr/share/
|
2013-03-12 16:50:12 +00:00
|
|
|
}
|