opt/git/Pkgfile

31 lines
749 B
Plaintext
Raw Normal View History

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
# Maintainer: Tilman Sauerbeck, tilman at crux dot nu
# Depends on: curl, rcs, perl
2006-06-09 23:35:05 +02:00
# Nice to have: tk
2006-02-23 16:26:10 +01:00
name=git
2007-01-08 14:13:19 +01:00
version=1.4.4.4
2006-09-14 00:25:53 +02:00
release=1
source=(http://www.kernel.org/pub/software/scm/$name/$name-{,manpages-}$version.tar.bz2)
2006-02-23 16:26:10 +01: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
2006-07-02 11:57:31 +02:00
make CFLAGS="$CFLAGS" prefix=/usr DESTDIR=$PKG install
cd $SRC
for i in man*; do
install -d $PKG/usr/man/$i
install -m 644 $i/* $PKG/usr/man/$i;
done
find $PKG -name perllocal.pod -delete
find $PKG -name .packlist -delete
2006-02-23 16:26:10 +01:00
}