diff options
author | Richard Dale <richard.dale@codethink.co.uk> | 2015-06-26 14:50:03 +0100 |
---|---|---|
committer | Richard Dale <richard.dale@codethink.co.uk> | 2015-06-26 14:50:03 +0100 |
commit | 908930edf5da55265c15b0454c92bd8eeab42d33 (patch) | |
tree | eb124b4cc64010c78efebc553a234b1e38094407 /strata/coreutils-common-wrt/coreutils.morph | |
parent | 5038ed0365b6bf009759225b539ba960b378cd2e (diff) | |
download | definitions-baserock/rdale/openwrt.tar.gz |
Improve naming, use '-wrt' rather than '-musl'baserock/rdale/openwrt
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/ |