summaryrefslogtreecommitdiff
path: root/repo/bsd-utils
diff options
context:
space:
mode:
Diffstat (limited to 'repo/bsd-utils')
-rw-r--r--repo/bsd-utils/bsd-utils.xibuild22
1 files changed, 22 insertions, 0 deletions
diff --git a/repo/bsd-utils/bsd-utils.xibuild b/repo/bsd-utils/bsd-utils.xibuild
new file mode 100644
index 0000000..064aae4
--- /dev/null
+++ b/repo/bsd-utils/bsd-utils.xibuild
@@ -0,0 +1,22 @@
+#!/bin/sh
+
+NAME="bsd-utils"
+DESC="BSD coreutils is a port of many utilities from BSD to Linux and macOS."
+
+MAKEDEPS="cmake openssl"
+
+PKG_VER=master
+SOURCE="https://github.com/DiegoMagdaleno/BSDCoreUtils.git"
+
+build () {
+ cmake -B build \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_INSTALL_LIBDIR=/usr/lib \
+ -DBUILD_SHARED_LIBS=True \
+ -DBUILD_STATIC_LIBS=OFF
+ cmake --build build
+}
+
+package () {
+ DESTDIR="$PKG_DEST" cmake --install build
+}