summaryrefslogtreecommitdiff
path: root/repo/core/which.xibuild
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2021-12-07 20:13:55 +0000
committerdavidovski <david@davidovski.xyz>2021-12-07 20:13:55 +0000
commitfb2773c4eef0f5bb5a14e7f9b81051e2feb8c18f (patch)
treee838cf51c2ea84e2a2b337f2b2e5237fb2cf03c4 /repo/core/which.xibuild
parent3dc9c4a100e3f02c7412817dc26cac05beeace5e (diff)
added which
Diffstat (limited to 'repo/core/which.xibuild')
-rw-r--r--repo/core/which.xibuild14
1 files changed, 14 insertions, 0 deletions
diff --git a/repo/core/which.xibuild b/repo/core/which.xibuild
new file mode 100644
index 0000000..5f682dc
--- /dev/null
+++ b/repo/core/which.xibuild
@@ -0,0 +1,14 @@
+#!/bin/bash
+
+DEPS=(glibc bash)
+
+SOURCE=http://ftp.gnu.org/gnu/which/which-2.21.tar.gz
+DESC="A utility to show the full path of commands"
+
+build () {
+ CC=gcc ./configure --prefix=/usr
+ make
+ make DESTDIR=$PKG_DEST install
+}
+
+