diff options
Diffstat (limited to 'strata/coreutils-common-wrt/coreutils.morph')
-rw-r--r-- | strata/coreutils-common-wrt/coreutils.morph | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/strata/coreutils-common-wrt/coreutils.morph b/strata/coreutils-common-wrt/coreutils.morph new file mode 100644 index 00000000..a7147bda --- /dev/null +++ b/strata/coreutils-common-wrt/coreutils.morph @@ -0,0 +1,17 @@ +name: coreutils +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/ |