mirror of
https://github.com/outbackdingo/ports.git
synced 2026-02-12 21:40:22 +00:00
26 lines
737 B
Plaintext
Executable File
26 lines
737 B
Plaintext
Executable File
# description : Version control system designed to handle everything from small to very large projects with speed and efficiency
|
|
# depends : curl openssl python2
|
|
|
|
name=git
|
|
version=2.22.0
|
|
release=1
|
|
source=(https://www.kernel.org/pub/software/scm/$name/$name-$version.tar.xz)
|
|
md5sum=(fcaf01506175c56fe88d887f1ff02ce8)
|
|
|
|
build() {
|
|
cd $name-$version
|
|
|
|
make CFLAGS="$CFLAGS" \
|
|
prefix=/usr \
|
|
gitexecdir=/usr/lib/git-core \
|
|
perllibdir="$(/usr/bin/perl -MConfig -wle 'print $Config{installvendorlib}')" \
|
|
DESTDIR=$PKG install
|
|
|
|
mkdir -p $PKG/usr/share/git/
|
|
install -m644 ./contrib/completion/git-prompt.sh $PKG/usr/share/git/git-prompt.sh
|
|
|
|
find $PKG \( -name perllocal.pod -o -name .packlist \) -delete
|
|
|
|
rm -r $PKG/usr/share/locale
|
|
}
|