void-packages/srcpkgs/git/template

51 lines
1.7 KiB
Plaintext
Raw Normal View History

# Template build file for 'git".
pkgname=git
2011-11-02 08:43:32 +01:00
version=1.7.7.1
2011-10-03 18:14:55 +02:00
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>"
2011-06-19 19:03:17 +02:00
homepage="http://git-scm.com/"
license="GPL-2"
2011-11-02 08:43:32 +01:00
checksum=6a7909226b2b249c7970b0d36054dbcfe58e6558cc4d671ea1f5ac6a69d8cf4f
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
2010-05-12 07:33:29 +02:00
Add_dependency run libcurl
2011-10-03 18:14:55 +02:00
Add_dependency build asciidoc
Add_dependency build xmlto
Add_dependency build perl
2010-05-12 07:33:29 +02:00
Add_dependency build libcurl-devel
Add_dependency build expat-devel
Add_dependency build openssl-devel
Add_dependency build python-devel
2010-05-12 07:33:29 +02:00
2011-11-02 08:43:32 +01:00
do_configure() {
2011-08-25 20:46:12 +02:00
./configure ${CONFIGURE_SHARED_ARGS} --with-curl --with-expat \
--without-tcltk
}
2011-06-23 19:08:34 +02:00
2011-11-02 08:43:32 +01:00
do_build() {
2011-08-25 20:46:12 +02:00
make ${makejobs} && make ${makejobs} -C Documentation man
}
2011-11-02 08:43:32 +01:00
do_install() {
2011-08-25 20:46:12 +02:00
make DESTDIR=${DESTDIR} install install-doc
vinstall contrib/completion/git-completion.bash 644 \
etc/bash_completion.d git
2011-06-23 19:08:34 +02:00
}