2008-10-04 06:29:49 +02:00
|
|
|
# Template build file for 'git".
|
|
|
|
pkgname=git
|
2011-06-30 16:02:21 +02:00
|
|
|
version=1.7.6
|
2009-05-16 00:05:02 +02:00
|
|
|
distfiles="http://www.kernel.org/pub/software/scm/git/git-$version.tar.bz2"
|
2008-09-30 15:22:57 +02:00
|
|
|
build_style=gnu_configure
|
2010-05-12 07:33:29 +02:00
|
|
|
configure_args="--with-curl --with-expat --without-tcltk"
|
2009-11-26 23:05:13 +01:00
|
|
|
make_install_args="install-doc"
|
2008-09-30 15:22:57 +02:00
|
|
|
short_desc="GIT Tree History Storage Tool"
|
2009-03-03 00:05:47 +01:00
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2011-06-19 19:03:17 +02:00
|
|
|
homepage="http://git-scm.com/"
|
|
|
|
license="GPL-2"
|
2011-06-30 16:02:21 +02:00
|
|
|
checksum=778795cece63cd758192378f3a999870cea290181b3a4c9de573c77192561082
|
2008-09-30 15:22:57 +02:00
|
|
|
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."
|
2008-10-20 16:34:27 +02:00
|
|
|
|
2010-11-17 21:08:18 +01:00
|
|
|
subpackages="git-docs git-perl git-python"
|
2009-12-07 10:16:52 +01:00
|
|
|
Add_dependency run glibc
|
|
|
|
Add_dependency run zlib
|
|
|
|
Add_dependency run expat
|
2010-11-02 08:31:35 +01:00
|
|
|
Add_dependency run libssl
|
2010-05-12 07:33:29 +02:00
|
|
|
Add_dependency run libcurl
|
2010-11-02 08:31:35 +01:00
|
|
|
|
2009-12-07 10:16:52 +01:00
|
|
|
Add_dependency build perl
|
2010-05-12 07:33:29 +02:00
|
|
|
Add_dependency build libcurl-devel
|
2009-12-07 10:16:52 +01:00
|
|
|
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 07:33:29 +02:00
|
|
|
Add_dependency build diffutils
|
2010-11-17 21:08:18 +01:00
|
|
|
Add_dependency build python-devel
|
2010-05-12 07:33:29 +02:00
|
|
|
|
2010-04-09 18:29:18 +02:00
|
|
|
post_build()
|
|
|
|
{
|
|
|
|
# Build the manpages.
|
2011-05-03 17:17:23 +02:00
|
|
|
make -C Documentation man
|
2010-04-09 18:29:18 +02:00
|
|
|
}
|
2011-06-23 19:08:34 +02:00
|
|
|
|
|
|
|
post_install()
|
|
|
|
{
|
2011-06-24 16:27:45 +02:00
|
|
|
mkdir -p ${DESTDIR}/etc/bash_completion.d
|
2011-06-23 19:08:34 +02:00
|
|
|
install -D -m644 contrib/completion/git-completion.bash \
|
|
|
|
${DESTDIR}/etc/bash_completion.d/git
|
|
|
|
}
|