From 2b10a9677817377618e33d2b07ab7caefe316633 Mon Sep 17 00:00:00 2001 From: Richard Maw Date: Mon, 18 Aug 2014 17:05:22 +0000 Subject: Re-organise definitions with scripts/organise-morphologies.py --- strata/ceph-service/boost.morph | 8 ++++++++ strata/ceph-service/ceph.morph | 18 ++++++++++++++++++ strata/ceph-service/keyutils.morph | 7 +++++++ strata/ceph-service/leveldb.morph | 6 ++++++ strata/ceph-service/libaio.morph | 7 +++++++ strata/ceph-service/nspr.morph | 6 ++++++ strata/ceph-service/nss.morph | 7 +++++++ 7 files changed, 59 insertions(+) create mode 100644 strata/ceph-service/boost.morph create mode 100644 strata/ceph-service/ceph.morph create mode 100644 strata/ceph-service/keyutils.morph create mode 100644 strata/ceph-service/leveldb.morph create mode 100644 strata/ceph-service/libaio.morph create mode 100644 strata/ceph-service/nspr.morph create mode 100644 strata/ceph-service/nss.morph (limited to 'strata/ceph-service') diff --git a/strata/ceph-service/boost.morph b/strata/ceph-service/boost.morph new file mode 100644 index 00000000..7c3e6cff --- /dev/null +++ b/strata/ceph-service/boost.morph @@ -0,0 +1,8 @@ +name: boost +kind: chunk +configure-commands: +- ./bootstrap.sh +build-commands: +- ./b2 || true +install-commands: +- ./b2 install --prefix=$DESTDIR$PREFIX || true diff --git a/strata/ceph-service/ceph.morph b/strata/ceph-service/ceph.morph new file mode 100644 index 00000000..5ad0d812 --- /dev/null +++ b/strata/ceph-service/ceph.morph @@ -0,0 +1,18 @@ +name: ceph +kind: chunk +build-system: autotools +configure-commands: +- NOCONFIGURE=1 ./autogen.sh +- ./configure --with-nss --prefix="$PREFIX" --sysconfdir=/etc --without-fuse --without-libatomic-ops +install-commands: +- make install +- install -D -m 755 src/init-ceph $DESTDIR/etc/init.d/ceph +- install -d $DESTDIR/etc/ceph +- install -D -d $DESTDIR/var/lib/ceph +- install -d $DESTDIR/var/lib/ceph/mon +- install -d $DESTDIR/var/lib/ceph/osd +- install -d $DESTDIR/var/lib/ceph/mds +- install -d $DESTDIR/var/lib/ceph/tmp +- install -d $DESTDIR/var/lib/ceph/bootstrap-mds +- install -d $DESTDIR/var/lib/ceph/bootstrap-osd +- install -D -d $DESTDIR/var/log/ceph diff --git a/strata/ceph-service/keyutils.morph b/strata/ceph-service/keyutils.morph new file mode 100644 index 00000000..4d47e265 --- /dev/null +++ b/strata/ceph-service/keyutils.morph @@ -0,0 +1,7 @@ +name: keyutils +kind: chunk +build-commands: +- make clean +- make +install-commands: +- make DESTDIR="$DESTDIR" LIBDIR="$PREFIX/lib" USRLIBDIR="$PREFIX/lib" install diff --git a/strata/ceph-service/leveldb.morph b/strata/ceph-service/leveldb.morph new file mode 100644 index 00000000..1385897c --- /dev/null +++ b/strata/ceph-service/leveldb.morph @@ -0,0 +1,6 @@ +name: leveldb +kind: chunk +build-commands: +- make +install-commands: +- ./install.sh diff --git a/strata/ceph-service/libaio.morph b/strata/ceph-service/libaio.morph new file mode 100644 index 00000000..62c24d37 --- /dev/null +++ b/strata/ceph-service/libaio.morph @@ -0,0 +1,7 @@ +name: libaio +kind: chunk +build-commands: +- make clean +- make +install-commands: +- make prefix="$DESTDIR$PREFIX" install diff --git a/strata/ceph-service/nspr.morph b/strata/ceph-service/nspr.morph new file mode 100644 index 00000000..a5224fb4 --- /dev/null +++ b/strata/ceph-service/nspr.morph @@ -0,0 +1,6 @@ +name: nspr +kind: chunk +build-system: autotools +configure-commands: +- ./configure --prefix=$PREFIX --with-mozilla --with-pthreads $([ $(uname -m) = x86_64 + ] && echo --enable-64bit) diff --git a/strata/ceph-service/nss.morph b/strata/ceph-service/nss.morph new file mode 100644 index 00000000..c83fd174 --- /dev/null +++ b/strata/ceph-service/nss.morph @@ -0,0 +1,7 @@ +name: nss +kind: chunk +max-jobs: 1 +build-system: autotools +configure-commands: +- NOCONFIGURE=1 ./autogen.sh +- ./configure --prefix="$PREFIX" --libdir="$PREFIX/lib" -- cgit v1.2.1