summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrancisco Redondo <francisco.marchena@codethink.co.uk>2015-03-25 12:42:56 +0000
committerGerrit Code Review <gerrit@baserock.org>2015-03-25 12:42:56 +0000
commit9842ea3c643b93d8adf85cccc733e1e596c9cc90 (patch)
treecce344f700b77a10db56f5ab96b3d73e5a132906
parent8e3bf0d0cf0aa424bed5b0cc3de1ec4c0dc8dafe (diff)
parentc58098d21349b3cbe8856c1b40090202e83bd410 (diff)
downloaddefinitions-9842ea3c643b93d8adf85cccc733e1e596c9cc90.tar.gz
Merge "tar.morph: simplify morphology"
-rw-r--r--strata/coreutils-common/tar.morph21
1 files changed, 14 insertions, 7 deletions
diff --git a/strata/coreutils-common/tar.morph b/strata/coreutils-common/tar.morph
index 9219abeb..d9ee3a36 100644
--- a/strata/coreutils-common/tar.morph
+++ b/strata/coreutils-common/tar.morph
@@ -1,10 +1,17 @@
name: tar
kind: chunk
-configure-commands:
+build-system: autotools
+pre-configure-commands:
- bash bootstrap --skip-po
-- FORCE_UNSAFE_CONFIGURE=1 ./configure --prefix=/usr --bindir=/bin --libexecdir=/usr/sbin
- --disable-nls --disable-gcc-warnings
-build-commands:
-- make
-install-commands:
-- make DESTDIR="$DESTDIR" install
+configure-commands:
+# Configure flag notes:
+# 1. Needed to run configure as root
+# 2. Disable some warning that cause the build to fail
+# 3. To use GNU tar instead the busybox one.
+# This will dissappear when we merge /usr/bin and /bin
+
+- |
+ `# [1]` env FORCE_UNSAFE_CONFIGURE=1 \
+ ./configure --prefix="$PREFIX" \
+ `# [2]` --disable-gcc-warnings \
+ `# [3]` --bindir=/bin