2006-02-23 16:26:10 +01:00
|
|
|
# Description: Directory content manager
|
2007-01-08 15:08:12 +01:00
|
|
|
# URL: http://www.kernel.org/pub/software/scm/git/docs
|
2006-04-08 17:21:33 +02:00
|
|
|
# Maintainer: Tilman Sauerbeck, tilman at crux dot nu
|
2009-06-11 16:08:09 +02:00
|
|
|
# Depends on: expat, curl
|
2006-06-09 23:35:05 +02:00
|
|
|
# Nice to have: tk
|
2006-02-23 16:26:10 +01:00
|
|
|
|
|
|
|
name=git
|
2009-09-18 10:38:54 +02:00
|
|
|
version=1.6.4.4
|
|
|
|
release=1
|
2006-06-10 23:56:33 +02:00
|
|
|
source=(http://www.kernel.org/pub/software/scm/$name/$name-{,manpages-}$version.tar.bz2)
|
2006-02-23 16:26:10 +01:00
|
|
|
|
2006-04-08 17:21:33 +02:00
|
|
|
build() {
|
2006-02-23 16:26:10 +01:00
|
|
|
cd $name-$version
|
|
|
|
|
2006-10-26 20:57:42 +02:00
|
|
|
# install Error.pm. this pretty much sucks, but i'm too lazy to
|
|
|
|
# investigate whether there's a better way.
|
|
|
|
sed -i -e '15,16d' -e '18d' perl/Makefile.PL
|
|
|
|
|
2008-08-18 21:01:31 +02:00
|
|
|
make CFLAGS="$CFLAGS" prefix=/usr gitexecdir=/usr/lib/git-core \
|
|
|
|
DESTDIR=$PKG install
|
2006-06-10 23:56:33 +02:00
|
|
|
|
|
|
|
cd $SRC
|
|
|
|
|
|
|
|
for i in man*; do
|
|
|
|
install -d $PKG/usr/man/$i
|
|
|
|
install -m 644 $i/* $PKG/usr/man/$i;
|
|
|
|
done
|
2006-10-19 18:08:04 +02:00
|
|
|
|
2007-09-02 10:48:20 +02:00
|
|
|
install -d $PKG/usr/man/man3
|
|
|
|
mv $PKG/usr/share/man/man3/{Git,private-Error}.3pm \
|
|
|
|
$PKG/usr/man/man3/
|
|
|
|
rmdir $PKG/usr/share/{man/man3,man}
|
|
|
|
|
2006-10-19 18:08:04 +02:00
|
|
|
find $PKG -name perllocal.pod -delete
|
|
|
|
find $PKG -name .packlist -delete
|
2008-02-02 12:53:41 +01:00
|
|
|
|
|
|
|
rm -rf $PKG/usr/share/gitk/lib/msgs
|
|
|
|
rmdir $PKG/usr/share/gitk/{lib,}
|
2006-02-23 16:26:10 +01:00
|
|
|
}
|