void-packages/srcpkgs/git/template
Juan RP 23dd7d008e Update build_style for all templates.
- There's no need to set build_style for custom-install (default).
- gnu_{configure,makefile} renamed to gnu-{configure,makefile}.
2011-10-24 14:14:47 +02:00

53 lines
1.7 KiB
Text

# Template build file for 'git".
pkgname=git
version=1.7.7
distfiles="http://git-core.googlecode.com/files/git-$version.tar.gz"
#distfiles="http://www.kernel.org/pub/software/scm/git/git-$version.tar.bz2"
short_desc="GIT Tree History Storage Tool"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://git-scm.com/"
license="GPL-2"
checksum=5a977bc01e4989b9928345e99aab15ce896cf5897c6e32eb449538574df377f6
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."
subpackages="git-docs git-perl git-python"
Add_dependency run glibc
Add_dependency run zlib
Add_dependency run expat
Add_dependency run libssl
Add_dependency run libcurl
Add_dependency build asciidoc
Add_dependency build xmlto
Add_dependency build perl
Add_dependency build libcurl-devel
Add_dependency build expat-devel
Add_dependency build openssl-devel
Add_dependency build python-devel
do_configure()
{
./configure ${CONFIGURE_SHARED_ARGS} --with-curl --with-expat \
--without-tcltk
}
do_build()
{
make ${makejobs} && make ${makejobs} -C Documentation man
}
do_install()
{
make DESTDIR=${DESTDIR} install install-doc
vinstall contrib/completion/git-completion.bash 644 \
etc/bash_completion.d git
}