summaryrefslogtreecommitdiff
path: root/repo/core
diff options
context:
space:
mode:
Diffstat (limited to 'repo/core')
-rw-r--r--repo/core/curl.xibuild17
-rw-r--r--repo/core/git.xibuild17
2 files changed, 34 insertions, 0 deletions
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
+
+}