diff options
author | davidovski <david@davidovski.xyz> | 2022-03-01 21:25:54 +0000 |
---|---|---|
committer | davidovski <david@davidovski.xyz> | 2022-03-01 21:25:54 +0000 |
commit | e8213fac46bfcb8068a883cb88b2bb1587f190f9 (patch) | |
tree | 8ec5946d18961404efb12700267e10cffffa6db7 /repo/system/coreutils.xibuild | |
parent | 79c82d8fc0a4f6618429a0373bb832afd105543e (diff) |
made packages work with musl
Diffstat (limited to 'repo/system/coreutils.xibuild')
-rw-r--r-- | repo/system/coreutils.xibuild | 22 |
1 files changed, 9 insertions, 13 deletions
diff --git a/repo/system/coreutils.xibuild b/repo/system/coreutils.xibuild index d026617..150787b 100644 --- a/repo/system/coreutils.xibuild +++ b/repo/system/coreutils.xibuild @@ -1,24 +1,20 @@ #!/bin/sh MAKEDEPS="make " -DEPS="musl acl attr gmp libcap libressl libiconv" +DEPS="musl acl attr gmp" -PKG_VER=9.0 -SOURCE=https://ftp.gnu.org/gnu/coreutils/coreutils-$PKG_VER.tar.xz -DESC="The GNU coreutilities" +SOURCE=https://git.suckless.org/sbase +DESC="sbase from suckless.org" 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 + make PREFIX=/usr DESTDIR=$PKG_DEST install + + for p in tar sed; do + rm $PKG_DEST/usr/bin/$p + rm $PKG_DEST/usr/share/man/man1/$p.1 + done } |