#
# author: hackbard@hackdaworld.dyndns.org
#
-# [V] latest
+# [V] 1.5.3
# [S] 3-4
-# [D] git-latest.tar.gz http://www.codemonkey.org.uk/projects/git-snapshots/git/
-# [D] git-changes-script http://www.kernel.org/pub/linux/kernel/people/jgarzik/
-# [D] git-new-branch http://www.kernel.org/pub/linux/kernel/people/jgarzik/
+# [D] git-1.5.3.tar.bz2 http://www.kernel.org/pub/software/scm/git/
-install_conf="prefix=$prefix $install_conf"
-
-post_install() {
- #some extra scripts
- for i in git-changes-script git-new-branch; do
- install -m 0755 $archdir/$i $prefix/bin
- done
- # patching git documentation
- sed -i 's%link:howto-index.html%link:../howto%' Documentation/git.txt
- # installing documentation
- rm -rf $docdir ; mkdir -p $docdir/{html,ascii}
- for i in Documentation/git*.txt; do
- asciidoc -b html4 -d manpage $i
- install -m 0644 $i $docdir/ascii
- install -m 0644 `echo $i | sed 's/.txt/.html/'` $docdir/html
- done
- for i in cvs-migration tutorial glossary diff-format diff-options \
- diffcore pack-protocol hooks pull-fetch-param \
- repository-layout; do
- asciidoc Documentation/$i.txt
- install -m 0644 Documentation/$i.txt $docdir/ascii
- install -m 0644 Documentation/$i.html $docdir/html
- done
- cp -r Documentation/{howto,technical} $docdir
+pre_install() {
+ autoconf
}