summaryrefslogtreecommitdiff
path: root/strata/coreutils-common/coreutils-musl.morph
blob: 5f6246506ce4eafc85d22afea173ed786783da22 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
name: coreutils-musl
kind: chunk
build-system: autotools
configure-commands:
- sed -i -e '/^buildreq="/,/^"/{/rsync/d}' bootstrap.conf
- sed -i -e '/^buildreq="/,/^"/{/gettext/d}' bootstrap.conf
- bash bootstrap --skip-po --no-git --gnulib-srcdir=gnulib
- FORCE_UNSAFE_CONFIGURE=1 ./configure --prefix="$PREFIX" --disable-nls
build-commands:
- make WERROR_CFLAGS=
install-commands:
- make INSTALL_PROGRAM=install DESTDIR="$DESTDIR" install
# This hack is for supporting "fdatasync" argument in "dd" command
# which busybox "dd" does not support.
# This hack should dissappear when we merge /usr/bin and /bin.
- mkdir -p "$DESTDIR"/bin/
- ln -sf ../usr/bin/dd "$DESTDIR"/bin/