summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Ipsum <richardipsum@fastmail.co.uk>2014-11-28 12:06:51 (GMT)
committerRichard Ipsum <richardipsum@fastmail.co.uk>2014-11-28 12:08:06 (GMT)
commit7f6d06f7ba4e36b9c3338f9a567df958809af3b8 (patch)
treec496d259cc6e235a8fd40be2865268fab2213185
parentb4528fe3f09ce8a19158b05a7b263890694bb09e (diff)
downloaddefinitions-7f6d06f7ba4e36b9c3338f9a567df958809af3b8.tar.gz
add all this service strata stuff
-rw-r--r--strata/openstack-services/cryptography.morph8
-rw-r--r--strata/openstack-services/ipaddr-py.morph6
-rw-r--r--strata/openstack-services/librabbitmq.morph10
-rw-r--r--strata/openstack-services/pies.morph11
-rw-r--r--strata/openstack-services/pycrypto.morph3
-rw-r--r--strata/openstack-services/qpid-python.morph6
-rw-r--r--strata/openstack-services/rabbitmq-codegen.morph7
-rw-r--r--strata/openstack-services/rabbitmq-server.morph9
-rw-r--r--strata/openstack-services/subunit.morph3
-rw-r--r--strata/openstack-services/thrift.morph9
-rw-r--r--strata/openstack-services/xattr.morph8
11 files changed, 80 insertions, 0 deletions
diff --git a/strata/openstack-services/cryptography.morph b/strata/openstack-services/cryptography.morph
new file mode 100644
index 0000000..789d007
--- /dev/null
+++ b/strata/openstack-services/cryptography.morph
@@ -0,0 +1,8 @@
+name: cryptography
+kind: chunk
+configure-commands:
+- cp -r /usr/lib/python2.7/site-packages/cffi .
+build-commands:
+- python setup.py build
+install-commands:
+- python setup.py install --prefix "$PREFIX" --root "$DESTDIR"
diff --git a/strata/openstack-services/ipaddr-py.morph b/strata/openstack-services/ipaddr-py.morph
new file mode 100644
index 0000000..f6691ab
--- /dev/null
+++ b/strata/openstack-services/ipaddr-py.morph
@@ -0,0 +1,6 @@
+name: ipaddr-py
+kind: chunk
+build-commands:
+- cd trunk && python setup.py build
+install-commands:
+- cd trunk && python setup.py install --prefix "$PREFIX" --root "$DESTDIR"
diff --git a/strata/openstack-services/librabbitmq.morph b/strata/openstack-services/librabbitmq.morph
new file mode 100644
index 0000000..b87ce36
--- /dev/null
+++ b/strata/openstack-services/librabbitmq.morph
@@ -0,0 +1,10 @@
+name: librabbitmq
+kind: chunk
+build-system: python-distutils
+configure-commands:
+- (cd rabbitmq-c; rm -rf codegen; ln -sf ../rabbitmq-codegen ./codegen)
+- (cd rabbitmq-c; autoreconf -fvi)
+- (cd rabbitmq-c; automake --add-missing)
+- (cd rabbitmq-c; ./configure --disable-tools --disable-docs)
+- (cd rabbitmq-c; make distdir)
+- mv rabbitmq-c/rabbitmq-c-0.5.3 clib
diff --git a/strata/openstack-services/pies.morph b/strata/openstack-services/pies.morph
new file mode 100644
index 0000000..327c1dc
--- /dev/null
+++ b/strata/openstack-services/pies.morph
@@ -0,0 +1,11 @@
+name: pies
+kind: chunk
+configure-commands:
+- |
+ cd pies2override
+ && python setup.py build
+ && python setup.py install --prefix "$PREFIX" --root "$DESTDIR"
+build-commands:
+- python setup.py build
+install-commands:
+- python setup.py install --prefix "$PREFIX" --root "$DESTDIR"
diff --git a/strata/openstack-services/pycrypto.morph b/strata/openstack-services/pycrypto.morph
new file mode 100644
index 0000000..51cc00f
--- /dev/null
+++ b/strata/openstack-services/pycrypto.morph
@@ -0,0 +1,3 @@
+name: pycrypto
+kind: chunk
+build-system: python-distutils
diff --git a/strata/openstack-services/qpid-python.morph b/strata/openstack-services/qpid-python.morph
new file mode 100644
index 0000000..203b3db
--- /dev/null
+++ b/strata/openstack-services/qpid-python.morph
@@ -0,0 +1,6 @@
+name: qpid-python
+kind: chunk
+build-commands:
+- cd qpid/python && python setup.py build
+install-commands:
+- cd qpid/python && python setup.py install --prefix "$PREFIX" --root "$DESTDIR"
diff --git a/strata/openstack-services/rabbitmq-codegen.morph b/strata/openstack-services/rabbitmq-codegen.morph
new file mode 100644
index 0000000..2b06aeb
--- /dev/null
+++ b/strata/openstack-services/rabbitmq-codegen.morph
@@ -0,0 +1,7 @@
+name: rabbitmq-codegen
+kind: chunk
+configure-commands: []
+build-commands: []
+install-commands:
+- mkdir -p "$DESTDIR$PREFIX"/lib/rabbitmq-codegen
+- cp * "$DESTDIR$PREFIX"/lib/rabbitmq-codegen
diff --git a/strata/openstack-services/rabbitmq-server.morph b/strata/openstack-services/rabbitmq-server.morph
new file mode 100644
index 0000000..0c2d9b3
--- /dev/null
+++ b/strata/openstack-services/rabbitmq-server.morph
@@ -0,0 +1,9 @@
+name: rabbitmq-server
+kind: chunk
+configure-commands:
+- mkdir -p codegen
+- cp /usr/lib/rabbitmq-codegen/* codegen
+build-commands:
+- make
+install-commands:
+- make install_bin TARGET_DIR="$DESTDIR$PREFIX" SBIN_DIR="$DESTDIR$PREFIX"/sbin MAN_DIR="$PREFIX"/share/man DOC_INSTALL_DIR="$PREFIX"/share
diff --git a/strata/openstack-services/subunit.morph b/strata/openstack-services/subunit.morph
new file mode 100644
index 0000000..a93decc
--- /dev/null
+++ b/strata/openstack-services/subunit.morph
@@ -0,0 +1,3 @@
+name: python-subunit
+kind: chunk
+build-system: python-distutils
diff --git a/strata/openstack-services/thrift.morph b/strata/openstack-services/thrift.morph
new file mode 100644
index 0000000..321e06d
--- /dev/null
+++ b/strata/openstack-services/thrift.morph
@@ -0,0 +1,9 @@
+{
+ "name": "thrift",
+ "kind": "chunk",
+ "build-system": "autotools",
+ "configure-commands": [
+ "./bootstrap.sh",
+ "./configure --prefix=\"$PREFIX\" --without-erlang"
+ ]
+}
diff --git a/strata/openstack-services/xattr.morph b/strata/openstack-services/xattr.morph
new file mode 100644
index 0000000..65f47da
--- /dev/null
+++ b/strata/openstack-services/xattr.morph
@@ -0,0 +1,8 @@
+name: xattr
+kind: chunk
+configure-commands:
+- cp -r /usr/lib/python2.7/site-packages/cffi .
+build-commands:
+- python setup.py build
+install-commands:
+- python setup.py install --prefix "$PREFIX" --root "$DESTDIR"