summaryrefslogtreecommitdiff
path: root/old/strata/coreutils-common
diff options
context:
space:
mode:
Diffstat (limited to 'old/strata/coreutils-common')
-rw-r--r--old/strata/coreutils-common/coreutils.morph12
-rw-r--r--old/strata/coreutils-common/diff.morph8
-rw-r--r--old/strata/coreutils-common/sed.morph8
-rw-r--r--old/strata/coreutils-common/tar.morph13
4 files changed, 41 insertions, 0 deletions
diff --git a/old/strata/coreutils-common/coreutils.morph b/old/strata/coreutils-common/coreutils.morph
new file mode 100644
index 00000000..ad6b2c32
--- /dev/null
+++ b/old/strata/coreutils-common/coreutils.morph
@@ -0,0 +1,12 @@
+name: coreutils
+kind: chunk
+build-system: autotools
+pre-configure-commands:
+- sed -i -e '/^buildreq="/,/^"/{/rsync/d}' bootstrap.conf
+- bash bootstrap --skip-po --no-git --gnulib-srcdir=gnulib
+configure-commands:
+- FORCE_UNSAFE_CONFIGURE=1 ./configure --prefix="$PREFIX" --disable-nls
+build-commands:
+- make WERROR_CFLAGS=
+install-commands:
+- make INSTALL_PROGRAM=install DESTDIR="$DESTDIR" install
diff --git a/old/strata/coreutils-common/diff.morph b/old/strata/coreutils-common/diff.morph
new file mode 100644
index 00000000..c5eb809d
--- /dev/null
+++ b/old/strata/coreutils-common/diff.morph
@@ -0,0 +1,8 @@
+name: diff
+kind: chunk
+build-system: autotools
+pre-configure-commands:
+- sed -i -e '/^buildreq="/,/^"/{/rsync/d}' bootstrap.conf
+- ./bootstrap --skip-po --no-git --gnulib-srcdir=gnulib
+configure-commands:
+- ./configure --prefix="$PREFIX" --disable-gcc-warnings
diff --git a/old/strata/coreutils-common/sed.morph b/old/strata/coreutils-common/sed.morph
new file mode 100644
index 00000000..87ace803
--- /dev/null
+++ b/old/strata/coreutils-common/sed.morph
@@ -0,0 +1,8 @@
+name: sed
+kind: chunk
+build-system: autotools
+pre-configure-commands:
+- sed -i -e '/^buildreq="/,/^"/{/rsync/d}' bootstrap.conf
+- ./bootstrap --skip-po --no-git --gnulib-srcdir=gnulib
+configure-commands:
+- ./configure --prefix="$PREFIX" --disable-gcc-warnings
diff --git a/old/strata/coreutils-common/tar.morph b/old/strata/coreutils-common/tar.morph
new file mode 100644
index 00000000..11ca9585
--- /dev/null
+++ b/old/strata/coreutils-common/tar.morph
@@ -0,0 +1,13 @@
+name: tar
+kind: chunk
+build-system: autotools
+configure-commands:
+- bash bootstrap --skip-po --gnulib-srcdir="$(pwd)/gnulib"
+
+# Configure flag notes:
+# 1. Needed to run configure as root
+# 2. Disable some warning that cause the build to fail
+- |
+ `# [1]` env FORCE_UNSAFE_CONFIGURE=1 \
+ ./configure --prefix="$PREFIX" \
+ `# [2]` --disable-gcc-warnings