From cb447620084a20be80d116c81c2e9ec110be7118 Mon Sep 17 00:00:00 2001 From: davidovski Date: Sun, 16 Jan 2022 01:23:51 +0000 Subject: restructured repo system --- repo/system/coreutils.xibuild | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 repo/system/coreutils.xibuild (limited to 'repo/system/coreutils.xibuild') diff --git a/repo/system/coreutils.xibuild b/repo/system/coreutils.xibuild new file mode 100644 index 0000000..3e0e023 --- /dev/null +++ b/repo/system/coreutils.xibuild @@ -0,0 +1,22 @@ +#!/bin/bash + +DEPS=(glibc acl attr gmp libcap openssl) + +SOURCE=https://ftp.gnu.org/gnu/coreutils/coreutils-9.0.tar.xz +DESC="The GNU coreutilities" + +build () { + autoreconf -fiv + + FORCE_UNSAFE_CONFIGURE=1 ./configure \ + --prefix=/usr \ + --enable-no-install-program=kill,uptime + make +} + +package () { + make DESTDIR=$PKG_DEST install + mkdir -pv $PKG_DEST/usr/share/man/man8/chroot.8 + mkdir -pv $PKG_DEST/usr/sbin + mv -v $PKG_DEST/usr/bin/chroot $PKG_DEST/usr/sbin +} -- cgit v1.2.1