CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
mysql: fixed patch name
[ports/opt-arm.git] / git / Pkgfile
CommitLineData
c07de3e5
JB
1# Description: Directory content manager
2# URL: http://www.kernel.org/pub/software/scm/git/docs
3# Maintainer: Tilman Sauerbeck, tilman at crux dot nu
4# Depends on: expat, curl, python
5# Nice to have: tk
6
7name=git
8version=1.7.6
9release=2
10source=(http://www.kernel.org/pub/software/scm/$name/$name-{,manpages-}$version.tar.bz2)
11
12build() {
13 cd $name-$version
14
15 # install Error.pm. this pretty much sucks, but i'm too lazy to
16 # investigate whether there's a better way.
17 sed -i -e '23,24d' -e '26d' perl/Makefile.PL
18
19 make CFLAGS="$CFLAGS" prefix=/usr gitexecdir=/usr/lib/git-core \
20 DESTDIR=$PKG install
21
22 cd $SRC
23
24 for i in man*; do
25 install -d $PKG/usr/man/$i
26 install -m 644 $i/* $PKG/usr/man/$i;
27 done
28
29 install -d $PKG/usr/man/man3
30 mv $PKG/usr/share/man/man3/{Git,private-Error}.* \
31 $PKG/usr/man/man3/
32 rmdir $PKG/usr/share/{man/man3,man}
33
34 find $PKG -name perllocal.pod -delete
35 find $PKG -name .packlist -delete
36
37 rm -rf $PKG/usr/share/gitk/lib/msgs
38 rmdir $PKG/usr/share/gitk/{lib,}
39}