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