void-packages/srcpkgs/git/template

48 lines
1.6 KiB
Text
Raw Normal View History

# Template build file for 'git".
pkgname=git
2010-05-12 05:33:29 +00:00
version=1.7.1
distfiles="http://www.kernel.org/pub/software/scm/git/git-$version.tar.bz2"
build_style=gnu_configure
2010-05-12 05:33:29 +00:00
configure_args="--with-curl --with-expat --without-tcltk"
make_install_args="install-doc"
short_desc="GIT Tree History Storage Tool"
maintainer="Juan RP <xtraeme@gmail.com>"
2010-05-12 05:33:29 +00:00
checksum=bcf008ec9639480a3ebfdc4708743b6c0978a8bd3103a2dda587ea9473b9dde2
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="$pkgname-docs $pkgname-perl"
Add_dependency run glibc
Add_dependency run zlib
Add_dependency run expat
Add_dependency run openssl
2010-05-12 05:33:29 +00:00
Add_dependency run libcurl
Add_dependency build perl
2010-05-12 05:33:29 +00:00
Add_dependency build libcurl-devel
Add_dependency build zlib-devel
Add_dependency build expat-devel
Add_dependency build openssl-devel
Add_dependency build asciidoc
Add_dependency build xmlto
2010-05-12 05:33:29 +00:00
Add_dependency build diffutils
pre_configure()
{
# Use cmp(1) from diffutils.
export PATH="/bin:/usr/bin:$PATH"
}
post_build()
{
# Build the manpages.
cd ${wrksrc} && make -C Documentation man
}