2006-02-23 15:26:10 +00:00
|
|
|
# Description: Directory content manager
|
2016-04-01 22:12:49 +02: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
|
2016-04-01 22:12:49 +02:00
|
|
|
# Packager: Tilman Sauerbeck, tilman at crux dot nu
|
|
|
|
# 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
|
2018-09-09 02:48:47 +02:00
|
|
|
version=2.18.0
|
2016-05-27 13:13:31 +02:00
|
|
|
release=1
|
2015-04-21 22:46:21 +02:00
|
|
|
source=(https://www.kernel.org/pub/software/scm/git/git-{,manpages-}$version.tar.xz
|
2017-07-28 14:34:14 +02:00
|
|
|
git gitd.rc)
|
2006-02-23 15:26:10 +00:00
|
|
|
|
2006-04-08 15:21:33 +00:00
|
|
|
build() {
|
2017-07-28 14:34:14 +02:00
|
|
|
cd $name-$version
|
2006-02-23 15:26:10 +00:00
|
|
|
|
2018-05-30 00:51:00 +02:00
|
|
|
make CFLAGS="$CFLAGS" \
|
|
|
|
prefix=/usr \
|
|
|
|
gitexecdir=/usr/lib/git-core \
|
|
|
|
INSTALLSITEMAN3DIR=/usr/share/man/man3 \
|
|
|
|
perllibdir=/usr/lib/perl5/site_perl/5.26 \
|
|
|
|
DESTDIR=$PKG install
|
2006-06-10 21:56:33 +00:00
|
|
|
|
2017-07-28 14:34:14 +02:00
|
|
|
cd $SRC
|
2006-06-10 21:56:33 +00:00
|
|
|
|
2017-07-28 14:34:14 +02:00
|
|
|
for i in man*; do
|
|
|
|
install -d $PKG/usr/share/man/$i
|
|
|
|
install -m 644 $i/* $PKG/usr/share/man/$i;
|
|
|
|
done
|
2006-10-19 16:08:04 +00:00
|
|
|
|
2017-07-28 14:34:14 +02:00
|
|
|
find $PKG \( -name perllocal.pod -o -name .packlist \) -delete
|
|
|
|
rm -rf $PKG/usr/share/{locale,gitk}
|
2015-04-21 22:46:21 +02:00
|
|
|
|
2017-07-28 14:34:14 +02:00
|
|
|
# install the git ports driver
|
|
|
|
install -d $PKG/etc/ports/drivers
|
|
|
|
install $SRC/git $PKG/etc/ports/drivers/git
|
|
|
|
|
|
|
|
install -D $SRC/gitd.rc $PKG/etc/rc.d/gitd
|
2015-04-21 22:46:21 +02:00
|
|
|
|
2006-02-23 15:26:10 +00:00
|
|
|
}
|