blob: f261cf9e82e3d3a913b8fe0459e4ec3e8b9d9619 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
#!/bin/sh
MAKEDEPS="make "
DEPS="glibc acl attr gmp libcap libressl libiconv"
PKG_VER=9.0
SOURCE=https://ftp.gnu.org/gnu/coreutils/coreutils-$PKG_VER.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
}
|