summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim MacArthur <jim.macarthur@codethink.co.uk>2015-01-16 12:13:48 +0000
committerJim MacArthur <jim.macarthur@codethink.co.uk>2015-01-20 15:09:31 +0000
commit2fcd4b64c56f73c3f069dd1cd81275d20505b1f5 (patch)
tree1f095f29a18dd8601d11d880ceb019fe9f2323ee
parent9f3cf48100c37f6ec98bc7151d1155ce5b9fb834 (diff)
downloaddefinitions-2fcd4b64c56f73c3f069dd1cd81275d20505b1f5.tar.gz
Add morphs for sgdisk and libpopt
-rw-r--r--strata/chef.morph2
-rw-r--r--strata/core/libpopt.morph10
-rw-r--r--strata/core/sgdisk.morph7
3 files changed, 19 insertions, 0 deletions
diff --git a/strata/chef.morph b/strata/chef.morph
index 602dbc3b..cd969cda 100644
--- a/strata/chef.morph
+++ b/strata/chef.morph
@@ -205,10 +205,12 @@ chunks:
morph: strata/core/libpopt.morph
repo: upstream:libpopt
ref: c224abf28f4ff9bbf292908324359cb5905addf8
+ unpetrify-ref: master
build-depends: []
- name: sgdisk
morph: strata/core/sgdisk.morph
repo: upstream:sgdisk
ref: a920398fa393f9d6301b32b191bc01e086ab8bc8
+ unpetrify-ref: master
build-depends:
- libpopt
diff --git a/strata/core/libpopt.morph b/strata/core/libpopt.morph
new file mode 100644
index 00000000..ae27432c
--- /dev/null
+++ b/strata/core/libpopt.morph
@@ -0,0 +1,10 @@
+name: libpopt
+kind: chunk
+configure-commands:
+- autoreconf -if
+- ./configure
+build-commands:
+- make
+install-commands:
+- make DESTDIR="$DESTDIR" install
+
diff --git a/strata/core/sgdisk.morph b/strata/core/sgdisk.morph
new file mode 100644
index 00000000..e792f9d9
--- /dev/null
+++ b/strata/core/sgdisk.morph
@@ -0,0 +1,7 @@
+name: sgdisk
+kind: chunk
+build-commands:
+- make
+install-commands:
+- install -D -m 0755 -o root -g root sgdisk "$DESTDIR$PREFIX/bin/sgdisk"
+