summaryrefslogtreecommitdiff
path: root/repo
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2021-12-23 14:36:47 +0000
committerdavidovski <david@davidovski.xyz>2021-12-23 14:36:47 +0000
commite48203392c33c2c80be46d2696ffc35a6ae17cd0 (patch)
tree534fce09dc64793e78c617f6d68870e9ceccd95d /repo
parent65145ff4902e1a36869ed7a870a44e1159b2e45b (diff)
added git and curl
Diffstat (limited to 'repo')
-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
+
+}