From f29d569cd33a73da5ad675f43a34ad53c5cc9bc6 Mon Sep 17 00:00:00 2001 From: davidovski Date: Thu, 2 Feb 2023 14:10:02 +0000 Subject: Work --- repo/bsd-utils/bsd-utils.xibuild | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 repo/bsd-utils/bsd-utils.xibuild (limited to 'repo/bsd-utils') 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 +} -- cgit v1.2.1