diff options
author | Richard Dale <richard.dale@codethink.co.uk> | 2015-06-19 11:57:55 +0100 |
---|---|---|
committer | Richard Dale <richard.dale@codethink.co.uk> | 2015-06-19 16:10:55 +0000 |
commit | a58cda99badca36c7cb8f0b5b8870d34b4ce05c6 (patch) | |
tree | 552858d68ccbd24cc0fc57fbc741516e7f6c78bf /strata/coreutils-common/sed-musl.morph | |
parent | 9bf2a58d4d09d84830d5b1237604147d16487893 (diff) | |
download | definitions-a58cda99badca36c7cb8f0b5b8870d34b4ce05c6.tar.gz |
Add a coreutils-common-musl stratum with sed as Linux kernel build dependency
Diffstat (limited to 'strata/coreutils-common/sed-musl.morph')
-rw-r--r-- | strata/coreutils-common/sed-musl.morph | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/strata/coreutils-common/sed-musl.morph b/strata/coreutils-common/sed-musl.morph new file mode 100644 index 00000000..8565b0cf --- /dev/null +++ b/strata/coreutils-common/sed-musl.morph @@ -0,0 +1,16 @@ +name: sed +kind: chunk +build-system: autotools +pre-configure-commands: +- sed -i -e '/^buildreq="/,/^"/{/rsync/d}' bootstrap.conf +- sed -i -e '/^buildreq="/,/^"/{/gettext/d}' bootstrap.conf +- ./bootstrap --skip-po --no-git --gnulib-srcdir=gnulib + +configure-commands: +- ac_c_werror_flag=no ./configure --prefix="$PREFIX" --disable-gcc-warnings --disable-nls + +post-install-commands: +# This hack is to use GNU sed instead the busybox one. +# This will dissappear when we merge /usr/bin and /bin. +- mkdir -p "$DESTDIR"/bin/ +- ln -sf ../usr/bin/sed "$DESTDIR"/bin/ |