From e48203392c33c2c80be46d2696ffc35a6ae17cd0 Mon Sep 17 00:00:00 2001 From: davidovski Date: Thu, 23 Dec 2021 14:36:47 +0000 Subject: added git and curl --- repo/core/curl.xibuild | 17 +++++++++++++++++ repo/core/git.xibuild | 17 +++++++++++++++++ 2 files changed, 34 insertions(+) create mode 100644 repo/core/curl.xibuild create mode 100644 repo/core/git.xibuild (limited to 'repo') diff --git a/repo/core/curl.xibuild b/repo/core/curl.xibuild new file mode 100644 index 0000000..5681315 --- /dev/null +++ b/repo/core/curl.xibuild @@ -0,0 +1,17 @@ +#!/bin/bash + +DEPS=(cacerts openssl zlib zstd ) + +SOURCE=https://curl.se/download/curl-7.80.0.tar.xz +DESC="A utility for transfering files with URL syntax" + +build () { + ./configure --prefix=/usr \ + --disable-static \ + --with-openssl \ + --enable-threaded-resolver \ + --with-ca-path=/etc/ssl/certs && + make + + make DESTDIR=$PKG_DEST install +} diff --git a/repo/core/git.xibuild b/repo/core/git.xibuild new file mode 100644 index 0000000..899d9ea --- /dev/null +++ b/repo/core/git.xibuild @@ -0,0 +1,17 @@ +#!/bin/bash + +DEPS=(curl perl openssl pcre2 grep shadow zlib) + +SOURCE=https://www.kernel.org/pub/software/scm/git/git-2.34.1.tar.xz +DESC="The free and open source, distributed version control system" + +build () { + ./configure --prefix=/usr \ + --with-gitconfig=/etc/gitconfig \ + --with-python=python3 && + make + make man + make perllibdir=/usr/lib/perl5/5.34/site_perl DESTDIR=$PKG_DEST install + make DESTDIR=$PKG_DEST install-man + +} -- cgit v1.2.1