summaryrefslogtreecommitdiff
path: root/strata/coreutils-common/sed.morph
diff options
context:
space:
mode:
Diffstat (limited to 'strata/coreutils-common/sed.morph')
-rw-r--r--strata/coreutils-common/sed.morph12
1 files changed, 12 insertions, 0 deletions
diff --git a/strata/coreutils-common/sed.morph b/strata/coreutils-common/sed.morph
new file mode 100644
index 00000000..92f6fa51
--- /dev/null
+++ b/strata/coreutils-common/sed.morph
@@ -0,0 +1,12 @@
+name: sed
+kind: chunk
+build-system: autotools
+configure-commands:
+- sed -i -e '/^buildreq="/,/^"/{/rsync/d}' bootstrap.conf
+- ./bootstrap --skip-po
+- ./configure --prefix="$PREFIX" --disable-gcc-warnings
+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/