summaryrefslogtreecommitdiff
path: root/repo/oksh/oksh.xibuild
diff options
context:
space:
mode:
Diffstat (limited to 'repo/oksh/oksh.xibuild')
-rw-r--r--repo/oksh/oksh.xibuild21
1 files changed, 21 insertions, 0 deletions
diff --git a/repo/oksh/oksh.xibuild b/repo/oksh/oksh.xibuild
new file mode 100644
index 0000000..eafaab7
--- /dev/null
+++ b/repo/oksh/oksh.xibuild
@@ -0,0 +1,21 @@
+#!/bin/sh
+
+NAME="oksh"
+DESC="Portable OpenBSD ksh, based on the Public Domain KornShell (pdksh)"
+
+MAKEDEPS="make "
+DEPS="sbase musl "
+
+PKG_VER=7.1
+SOURCE="https://github.com/ibara/oksh/archive/oksh-$PKG_VER.tar.gz"
+
+build () {
+ ./configure \
+ --prefix=/usr \
+ --bindir=/usr/bin
+ make
+}
+
+package () {
+ make DESTDIR=$PKG_DEST install
+}