2006-02-23 15:26:10 +00:00
|
|
|
# Description: Directory content manager
|
2007-01-08 15:08:12 +01:00
|
|
|
# URL: http://www.kernel.org/pub/software/scm/git/docs
|
2012-06-20 19:51:36 +02:00
|
|
|
# Maintainer: Thomas Penteker, tek at serverop dot de
|
|
|
|
# Packager: Tilman Sauerbeck, tilman at crux dot nu
|
2010-03-22 09:50:19 +01:00
|
|
|
# Depends on: expat, curl, python
|
2006-06-09 21:35:05 +00:00
|
|
|
# Nice to have: tk
|
2006-02-23 15:26:10 +00:00
|
|
|
|
|
|
|
name=git
|
2012-06-20 19:51:36 +02:00
|
|
|
version=1.7.11
|
2010-07-25 12:43:53 +02:00
|
|
|
release=1
|
2011-11-15 18:52:26 +01:00
|
|
|
source=(https://git-core.googlecode.com/files/$name-{,manpages-}$version.tar.gz)
|
2006-02-23 15:26:10 +00:00
|
|
|
|
2006-04-08 15:21:33 +00:00
|
|
|
build() {
|
2006-02-23 15:26:10 +00:00
|
|
|
cd $name-$version
|
|
|
|
|
2008-08-18 21:01:31 +02:00
|
|
|
make CFLAGS="$CFLAGS" prefix=/usr gitexecdir=/usr/lib/git-core \
|
2012-06-20 21:27:55 +02:00
|
|
|
INSTALLSITEMAN3DIR=/usr/man/man3 DESTDIR=$PKG install
|
2006-06-10 21:56:33 +00: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 16:08:04 +00:00
|
|
|
|
2012-06-20 21:27:55 +02:00
|
|
|
find $PKG \( -name perllocal.pod -o -name .packlist \) -delete
|
|
|
|
rm -rf $PKG/usr/share/{locale,gitk}
|
2006-02-23 15:26:10 +00:00
|
|
|
}
|