Difference between revisions of "GIT"

From CBLFS
Jump to navigationJump to search
(64Bit)
(Expat is optional)
 
(3 intermediate revisions by 2 users not shown)
Line 2: Line 2:
 
|-valign="top"
 
|-valign="top"
 
!Download Source:
 
!Download Source:
| http://kernel.org/pub/software/scm/git/git-{{GIT-Version}}.tar.bz2
+
| http://git-core.googlecode.com/files/git-{{GIT-Version}}.tar.gz
 
|-valign="top"
 
|-valign="top"
 
!Download Manpages:
 
!Download Manpages:
| http://kernel.org/pub/software/scm/git/git-manpages-{{GIT-Version}}.tar.bz2
+
| http://git-core.googlecode.com/files/git-manpages-{{GIT-Version}}.tar.gz
 
|}
 
|}
  
Line 18: Line 18:
 
=== Required ===
 
=== Required ===
 
* [[Curl]]
 
* [[Curl]]
* [[Expat]]
 
  
 
=== Optional ===
 
=== Optional ===
 
* [[OpenSSL]]
 
* [[OpenSSL]]
 +
* [[Expat]]
 
* [[Emacs]]
 
* [[Emacs]]
 
* [[Python]]
 
* [[Python]]
Line 35: Line 35:
 
Compile the package:
 
Compile the package:
  
  ./configure --prefix=/usr --libexecdir=/usr/lib &&
+
  ./configure --prefix=/usr --libexecdir=/usr/lib \
 +
    --sysconfdir=/etc &&
 
  make
 
  make
  
Line 44: Line 45:
 
Install the man pages:
 
Install the man pages:
  
  tar xvf ../git-manpages-{{GIT-Version}}.tar.bz2 -C /usr/share/man
+
  tar xvf ../git-manpages-{{GIT-Version}}.tar.gz -C /usr/share/man
  
 
== Multilib ==
 
== Multilib ==
Line 54: Line 55:
 
Compile the package:
 
Compile the package:
  
  CC="gcc ${BUILD32}" ./configure --prefix=/usr --libexecdir=/usr/lib &&
+
  CC="gcc ${BUILD32}" ./configure --prefix=/usr --libexecdir=/usr/lib \
 +
    --sysconfdir=/etc &&
 
  make
 
  make
  
Line 63: Line 65:
 
Install the man pages:
 
Install the man pages:
  
  tar xvf ../git-manpages-{{GIT-Version}}.tar.bz2 -C /usr/share/man
+
  tar xvf ../git-manpages-{{GIT-Version}}.tar.gz -C /usr/share/man
  
 
=== N32 ===
 
=== N32 ===
Line 69: Line 71:
 
Compile the package:
 
Compile the package:
  
  CC="gcc ${BUILD32}" ./configure --prefix=/usr --libexecdir=/usr/lib32 &&
+
  CC="gcc ${BUILD32}" ./configure --prefix=/usr --libexecdir=/usr/lib32 \
 +
    --sysconfdir=/etc &&
 
  make
 
  make
  
Line 78: Line 81:
 
Install the man pages:
 
Install the man pages:
  
  tar xvf ../git-manpages-{{GIT-Version}}.tar.bz2 -C /usr/share/man
+
  tar xvf ../git-manpages-{{GIT-Version}}.tar.gz -C /usr/share/man
  
 
=== 64Bit ===
 
=== 64Bit ===
Line 84: Line 87:
 
Compile the package:
 
Compile the package:
  
  CC="gcc ${BUILD64}" ./configure --prefix=/usr --libexecdir=/usr/lib64 &&
+
  CC="gcc ${BUILD64}" ./configure --prefix=/usr --libexecdir=/usr/lib64 \
 +
    --sysconfdir=/etc &&
 
  make
 
  make
  
Line 93: Line 97:
 
Install the man pages:
 
Install the man pages:
  
  tar xvf ../git-manpages-{{GIT-Version}}.tar.bz2 -C /usr/share/man
+
  tar xvf ../git-manpages-{{GIT-Version}}.tar.gz -C /usr/share/man
  
 
= Contents =
 
= Contents =

Latest revision as of 10:39, 9 September 2012

Download Source: http://git-core.googlecode.com/files/git-1.8.1.3.tar.gz
Download Manpages: http://git-core.googlecode.com/files/git-manpages-1.8.1.3.tar.gz

Introduction to GIT

Git is a popular version control system designed to handle very large projects with speed and efficiency; it is used mainly for various open source projects, most notably the Linux kernel.

Git falls in the category of distributed source code management tools, similar to e.g. GNU Arch or Monotone (or BitKeeper in the proprietary world). Every Git working directory is a full-fledged repository with full revision tracking capabilities, not dependent on network access or a central server.

Project Homepage: http://git-scm.com/

Dependencies

Required

Optional

Run-Time

Non-Multilib

Compile the package:

./configure --prefix=/usr --libexecdir=/usr/lib \
    --sysconfdir=/etc &&
make

Install the package

make install

Install the man pages:

tar xvf ../git-manpages-1.8.1.3.tar.gz -C /usr/share/man

Multilib

This package does not provide any libraries so only one installation is required. However, it installs ABI-specific executables in libexecdir.

32Bit

Compile the package:

CC="gcc ${BUILD32}" ./configure --prefix=/usr --libexecdir=/usr/lib \
    --sysconfdir=/etc &&
make

Install the package

make install

Install the man pages:

tar xvf ../git-manpages-1.8.1.3.tar.gz -C /usr/share/man

N32

Compile the package:

CC="gcc ${BUILD32}" ./configure --prefix=/usr --libexecdir=/usr/lib32 \
    --sysconfdir=/etc &&
make

Install the package

make install

Install the man pages:

tar xvf ../git-manpages-1.8.1.3.tar.gz -C /usr/share/man

64Bit

Compile the package:

CC="gcc ${BUILD64}" ./configure --prefix=/usr --libexecdir=/usr/lib64 \
    --sysconfdir=/etc &&
make

Install the package

make install

Install the man pages:

tar xvf ../git-manpages-1.8.1.3.tar.gz -C /usr/share/man

Contents

Installed Directories: /usr/lib/git-core, /usr/share/git-gui, /usr/share/git-core, /usr/share/gitk
Installed Programs: git, git-cvsserver, git-receive-pack, git-shell, git-upload-archive, git-upload-pack, gitk
Installed Libraries: None

Short Descriptions

git
git-cvsserver
git-receive-pack
git-shell
git-upload-archive
git-upload-pack
gitk
Retrieved from "?title=GIT&oldid=21371"