From c983ca9d661450127da9642d574a43459bf770d2 Mon Sep 17 00:00:00 2001 From: Cem Keylan Date: Sat, 16 May 2020 03:50:37 +0300 Subject: git: add this ugly mess --- git/build | 67 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ git/checksums | 7 +++++++ git/depends | 4 ++++ git/sources | 9 ++++++++ git/version | 1 + 5 files changed, 88 insertions(+) create mode 100755 git/build create mode 100644 git/checksums create mode 100644 git/depends create mode 100644 git/sources create mode 100644 git/version (limited to 'git') diff --git a/git/build b/git/build new file mode 100755 index 0000000..419432e --- /dev/null +++ b/git/build @@ -0,0 +1,67 @@ +#!/bin/sh -e +# Git build with git-send-email perl garbage enabled :c + +( + cd ssleay + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor + make + make DESTDIR="$1" install +) + +( + cd uri + perl Makefile.PL INSTALLDIRS=vendor + make + make DESTDIR="$1" install +) + +( + cd socket-ssl + yes | perl Makefile.PL INSTALLDIRS=vendor + make + make DESTDIR="$1" install +) + +( + cd sasl + PERL_USE_UNSAFE_INC=1 \ + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor + make + make pure_install DESTDIR="$1" +) + +( + cd ssl + perl Makefile.PL INSTALLDIRS=vendor + make + make DESTDIR="$1" install + find "$1" \( -name '.packlist' -o -name '*.pod' \) -exec rm -rf {} + +) + +export CFLAGS="$CFLAGS -fPIC" + +cat > config.mak <