summaryrefslogtreecommitdiff
path: root/chunks/openssl-new.morph
diff options
context:
space:
mode:
authorAdam Coldrick <adam.coldrick@codethink.co.uk>2014-04-14 16:02:36 +0000
committerAdam Coldrick <adam.coldrick@codethink.co.uk>2014-04-14 16:13:23 +0000
commitaa85df216ef454a47f2d6d027fcec2400d1083e3 (patch)
treeeb238277d6e9f1c7be5d99043d507d9c0e5961ff /chunks/openssl-new.morph
parent519294adf840fd3981a9aafc7744d3fe66301c68 (diff)
downloaddefinitions-aa85df216ef454a47f2d6d027fcec2400d1083e3.tar.gz
Add chunk morphologies to the definitions repository
Diffstat (limited to 'chunks/openssl-new.morph')
-rw-r--r--chunks/openssl-new.morph18
1 files changed, 18 insertions, 0 deletions
diff --git a/chunks/openssl-new.morph b/chunks/openssl-new.morph
new file mode 100644
index 00000000..3692778f
--- /dev/null
+++ b/chunks/openssl-new.morph
@@ -0,0 +1,18 @@
+name: openssl-new
+kind: chunk
+repo: upstream:openssl-new
+ref: e691010325922fe85950e3fd29484ca11ec83f44
+unpetrify-ref: baserock/OpenSSL_1_0_2-stable
+max-jobs: 1
+configure-commands:
+- sed -i -e 's,^LIBNAMES=\\(.*\\) padlock \\(.*\\),LIBNAMES=\\1 \\2,g' engines/Makefile
+- |
+ if [ "$(uname -m)" = "ppc64" ]; then
+ sh ./Configure linux-ppc64 --openssldir=/etc/ssl --prefix="${PREFIX-/usr}" --libdir=lib shared
+ else
+ ./config --openssldir=/etc/ssl --prefix="${PREFIX-/usr}" --libdir=lib shared
+ fi
+build-commands:
+- make
+install-commands:
+- make INSTALL_PREFIX="$DESTDIR" install_sw