vp-build/templates/git.tmpl
Juan RP 99d5350b30 Major changes to not depend on cksum and db from NetBSD.
Two new utilities in C have been created:
	- xbps-digest: shows the SHA256 hash for a file.
	- xbps-pkgdb: handles dependency stuff via proplib.

Templates should use now $build_depends and change $checksum to be
a SHA256 hash. That means that I'm currently using xbps on Linux and
I lost interest on NetBSD, perhaps I'll add support for it in the
future.

Only git and its dependencies have been converted, as well as vim.

--HG--
extra : convert_revision : 53a7e030ca6b6d02bb6cd3e51d42b7d5702c1b57
2008-10-20 16:34:27 +02:00

28 lines
1.2 KiB
Cheetah

# Template build file for 'git".
pkgname=git
version=1.6.0.2
patch_files="$pkgname-fix-install.diff"
distfiles="
http://www.kernel.org/pub/software/scm/git/$pkgname-$version@.tar.bz2"
build_style=gnu_configure
configure_env="CURLDIR=$XBPS_MASTERDIR"
make_env="CURLDIR=$XBPS_MASTERDIR THREADED_DELTA_SEARCH=1"
configure_args="--with-shell=/bin/sh --with-perl=$XBPS_MASTERDIR/bin/perl
--with-curl --without-tcltk --with-expat"
make_env="CURLDIR=$XBPS_MASTERDIR"
short_desc="GIT Tree History Storage Tool"
maintainer="Daniel Horecki <morr@morr.pl>"
checksum=a332fbcb1c9cf8b1dc224135d5b14e99da4720fc8b082e595b4f20eaf640dad8
long_desc="
GIT is a \"directory content manager\" designed to handle absolutely massive
projects with speed and efficiency, and the release of the 2.6.12 (and later)
versions of the Linux kernel as well as more and more other projects switching
to it would indicate that it does this task well.
GIT falls in the category of distributed version control software, similar
to e.g. GNU Arch or Monotone (or, in the commercial world, BitKeeper). Every
GIT working directory is a full-fledged repository with full revision tracking
capabilities, not dependent on network access to a central server."
build_depends="curl-7.18.0 expat-2.0.1 perl-5.10.0"