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/trove/cgit.morph | 6 ++++++ strata/trove/clod.morph | 7 +++++++ strata/trove/cvs-tarball.morph | 6 ++++++ strata/trove/cvsps.morph | 6 ++++++ strata/trove/gall.morph | 7 +++++++ strata/trove/gitano.morph | 5 +++++ strata/trove/hg-fast-export.morph | 10 ++++++++++ strata/trove/lace.morph | 7 +++++++ strata/trove/libapr-util-tarball.morph | 5 +++++ strata/trove/lighttpd.morph | 6 ++++++ strata/trove/lorry-controller.morph | 10 ++++++++++ strata/trove/lorry.morph | 3 +++ strata/trove/lrexlib-pcre.morph | 9 +++++++++ strata/trove/lua-scrypt.morph | 4 ++++ strata/trove/lua.morph | 11 +++++++++++ strata/trove/luxio.morph | 7 +++++++ strata/trove/mercurial-tarball.morph | 6 ++++++ strata/trove/neon.morph | 8 ++++++++ strata/trove/perl-dbi-tarball.morph | 5 +++++ strata/trove/subversion-tarball.morph | 10 ++++++++++ strata/trove/supple.morph | 7 +++++++ strata/trove/swig-tarball.morph | 5 +++++ strata/trove/trove-setup.morph | 4 ++++ 23 files changed, 154 insertions(+) create mode 100644 strata/trove/cgit.morph create mode 100644 strata/trove/clod.morph create mode 100644 strata/trove/cvs-tarball.morph create mode 100644 strata/trove/cvsps.morph create mode 100644 strata/trove/gall.morph create mode 100644 strata/trove/gitano.morph create mode 100644 strata/trove/hg-fast-export.morph create mode 100644 strata/trove/lace.morph create mode 100644 strata/trove/libapr-util-tarball.morph create mode 100644 strata/trove/lighttpd.morph create mode 100644 strata/trove/lorry-controller.morph create mode 100644 strata/trove/lorry.morph create mode 100644 strata/trove/lrexlib-pcre.morph create mode 100644 strata/trove/lua-scrypt.morph create mode 100644 strata/trove/lua.morph create mode 100644 strata/trove/luxio.morph create mode 100644 strata/trove/mercurial-tarball.morph create mode 100644 strata/trove/neon.morph create mode 100644 strata/trove/perl-dbi-tarball.morph create mode 100644 strata/trove/subversion-tarball.morph create mode 100644 strata/trove/supple.morph create mode 100644 strata/trove/swig-tarball.morph create mode 100644 strata/trove/trove-setup.morph (limited to 'strata/trove') diff --git a/strata/trove/cgit.morph b/strata/trove/cgit.morph new file mode 100644 index 00000000..bd373a51 --- /dev/null +++ b/strata/trove/cgit.morph @@ -0,0 +1,6 @@ +name: cgit +kind: chunk +build-commands: +- make prefix="$PREFIX" +install-commands: +- make prefix="$PREFIX" DESTDIR="$DESTDIR" install diff --git a/strata/trove/clod.morph b/strata/trove/clod.morph new file mode 100644 index 00000000..e31ca4fb --- /dev/null +++ b/strata/trove/clod.morph @@ -0,0 +1,7 @@ +name: clod +kind: chunk +description: Configuration Language Organised (by) Dots. +build-commands: +- make +install-commands: +- make INST_BASE="$PREFIX" DESTDIR="$DESTDIR" install diff --git a/strata/trove/cvs-tarball.morph b/strata/trove/cvs-tarball.morph new file mode 100644 index 00000000..e8322017 --- /dev/null +++ b/strata/trove/cvs-tarball.morph @@ -0,0 +1,6 @@ +name: cvs-tarball +kind: chunk +build-system: autotools +configure-commands: +- YACC='bison -y' ./configure --prefix "$PREFIX" --with-external-zlib --without-gssapi + --without-krb4 --disable-dependency-tracking --disable-nls --disable-rpath diff --git a/strata/trove/cvsps.morph b/strata/trove/cvsps.morph new file mode 100644 index 00000000..ff53784e --- /dev/null +++ b/strata/trove/cvsps.morph @@ -0,0 +1,6 @@ +name: cvsps +kind: chunk +build-commands: +- make +install-commands: +- make install prefix="$DESTDIR$PREFIX" diff --git a/strata/trove/gall.morph b/strata/trove/gall.morph new file mode 100644 index 00000000..c1f2fd47 --- /dev/null +++ b/strata/trove/gall.morph @@ -0,0 +1,7 @@ +name: gall +kind: chunk +description: Git Abstraction Layer for Lua +build-commands: +- make +install-commands: +- make INST_BASE="$PREFIX" DESTDIR="$DESTDIR" install diff --git a/strata/trove/gitano.morph b/strata/trove/gitano.morph new file mode 100644 index 00000000..962224d5 --- /dev/null +++ b/strata/trove/gitano.morph @@ -0,0 +1,5 @@ +name: gitano +kind: chunk +install-commands: +- make install INST_ROOT="$PREFIX" DESTDIR="$DESTDIR" +- cp scripts/htpasswd "$DESTDIR/$PREFIX/bin" diff --git a/strata/trove/hg-fast-export.morph b/strata/trove/hg-fast-export.morph new file mode 100644 index 00000000..ef99a97a --- /dev/null +++ b/strata/trove/hg-fast-export.morph @@ -0,0 +1,10 @@ +name: hg-fast-export +kind: chunk +install-commands: +- install -d "$DESTDIR/$PREFIX/bin" +- install -m 0755 hg-fast-export.py "$DESTDIR/$PREFIX/bin/" +- install -m 0755 hg-reset.py "$DESTDIR/$PREFIX/bin/" +- install -m 0755 hg-fast-export.sh "$DESTDIR/$PREFIX/bin/hg-fast-export" +- install -m 0755 hg-reset.sh "$DESTDIR/$PREFIX/bin/hg-reset" +- install -d "$DESTDIR/$PREFIX/lib/python2.7/site-packages" +- install -m 0644 hg2git.py "$DESTDIR/$PREFIX/lib/python2.7/site-packages/" diff --git a/strata/trove/lace.morph b/strata/trove/lace.morph new file mode 100644 index 00000000..70752397 --- /dev/null +++ b/strata/trove/lace.morph @@ -0,0 +1,7 @@ +name: lace +kind: chunk +description: Lua Access Control Engine. +build-commands: +- make +install-commands: +- make INST_BASE="$PREFIX" DESTDIR="$DESTDIR" install diff --git a/strata/trove/libapr-util-tarball.morph b/strata/trove/libapr-util-tarball.morph new file mode 100644 index 00000000..e34e3610 --- /dev/null +++ b/strata/trove/libapr-util-tarball.morph @@ -0,0 +1,5 @@ +name: libapr-util-tarball +kind: chunk +build-system: autotools +configure-commands: +- ./configure --prefix "$PREFIX" --with-apr=/usr/bin/apr-1-config diff --git a/strata/trove/lighttpd.morph b/strata/trove/lighttpd.morph new file mode 100644 index 00000000..ae371c52 --- /dev/null +++ b/strata/trove/lighttpd.morph @@ -0,0 +1,6 @@ +name: lighttpd +kind: chunk +build-system: autotools +configure-commands: +- ./autogen.sh +- ./configure --prefix="$PREFIX" --with-openssl --with-openssl-libs=/usr/lib diff --git a/strata/trove/lorry-controller.morph b/strata/trove/lorry-controller.morph new file mode 100644 index 00000000..2f90a9a1 --- /dev/null +++ b/strata/trove/lorry-controller.morph @@ -0,0 +1,10 @@ +name: lorry-controller +kind: chunk +build-system: python-distutils +post-install-commands: +- install -d 0755 "$DESTDIR/etc/lighttpd" +- install -m 0644 -D etc/lighttpd/*.conf "$DESTDIR/etc/lighttpd/." +- | + TGT="$DESTDIR/usr/lib/systemd/system" + install -d "$TGT/multi-user.target.wants" + install -m 0644 units/*.service units/*.timer "$TGT/." diff --git a/strata/trove/lorry.morph b/strata/trove/lorry.morph new file mode 100644 index 00000000..6b8cb355 --- /dev/null +++ b/strata/trove/lorry.morph @@ -0,0 +1,3 @@ +name: lorry +kind: chunk +build-system: python-distutils diff --git a/strata/trove/lrexlib-pcre.morph b/strata/trove/lrexlib-pcre.morph new file mode 100644 index 00000000..63f3b034 --- /dev/null +++ b/strata/trove/lrexlib-pcre.morph @@ -0,0 +1,9 @@ +name: lrexlib-pcre +kind: chunk +description: Lua regular expression library - PCRE build only +build-commands: +- gcc -fPIC -DPIC -DVERSION=\"2.7.2\" -o rex_pcre.so -shared src/common.c src/pcre/lpcre.c + src/pcre/lpcre_f.c -lpcre +install-commands: +- mkdir -p $DESTDIR/usr/lib/lua/5.1/ +- cp rex_pcre.so $DESTDIR/usr/lib/lua/5.1/ diff --git a/strata/trove/lua-scrypt.morph b/strata/trove/lua-scrypt.morph new file mode 100644 index 00000000..141b8ec3 --- /dev/null +++ b/strata/trove/lua-scrypt.morph @@ -0,0 +1,4 @@ +name: lua-scrypt +kind: chunk +install-commands: +- make lua-5.1-install DESTDIR="$DESTDIR" diff --git a/strata/trove/lua.morph b/strata/trove/lua.morph new file mode 100644 index 00000000..32aeb5c1 --- /dev/null +++ b/strata/trove/lua.morph @@ -0,0 +1,11 @@ +name: lua +kind: chunk +configure-commands: +- sed -e 's/defined(LUA_USE_READLINE)/0/g' src/luaconf.h.orig >src/luaconf.h +- sed -i -e '/^linux:/{n;s/-lreadline//g;s/-lhistory//g;s/-lncurses//g}' src/Makefile +build-commands: +- make debian_linux INSTALL_TOP="$PREFIX" RPATH="$PREFIX/lib" +install-commands: +- make INSTALL_TOP="$DESTDIR/$PREFIX" debian_install +- mkdir -p "$DESTDIR/$PREFIX/lib/pkgconfig" +- cp lua5.1.pc "$DESTDIR/$PREFIX/lib/pkgconfig/" diff --git a/strata/trove/luxio.morph b/strata/trove/luxio.morph new file mode 100644 index 00000000..29aabfaf --- /dev/null +++ b/strata/trove/luxio.morph @@ -0,0 +1,7 @@ +name: luxio +kind: chunk +description: Lua Unix IO (and related stuff). +build-commands: +- make lua-5.1 +install-commands: +- make DESTDIR="$DESTDIR" lua-5.1-install diff --git a/strata/trove/mercurial-tarball.morph b/strata/trove/mercurial-tarball.morph new file mode 100644 index 00000000..03264f56 --- /dev/null +++ b/strata/trove/mercurial-tarball.morph @@ -0,0 +1,6 @@ +name: mercurial-tarball +kind: chunk +build-commands: +- make build PREFIX="$PREFIX" +install-commands: +- make install-bin PREFIX="$PREFIX" DESTDIR="$DESTDIR" diff --git a/strata/trove/neon.morph b/strata/trove/neon.morph new file mode 100644 index 00000000..19f8e83f --- /dev/null +++ b/strata/trove/neon.morph @@ -0,0 +1,8 @@ +name: neon +kind: chunk +build-system: autotools +configure-commands: +- ./autogen.sh +- ./configure --prefix="$PREFIX" --with-ssl +install-commands: +- make install-lib install-headers install-config DESTDIR="$DESTDIR" diff --git a/strata/trove/perl-dbi-tarball.morph b/strata/trove/perl-dbi-tarball.morph new file mode 100644 index 00000000..9eb3a537 --- /dev/null +++ b/strata/trove/perl-dbi-tarball.morph @@ -0,0 +1,5 @@ +name: perl-dbi-tarball +kind: chunk +build-system: cpan +build-commands: +- make -j1 diff --git a/strata/trove/subversion-tarball.morph b/strata/trove/subversion-tarball.morph new file mode 100644 index 00000000..cb416d53 --- /dev/null +++ b/strata/trove/subversion-tarball.morph @@ -0,0 +1,10 @@ +name: subversion-tarball +kind: chunk +build-system: autotools +configure-commands: +- python gen-make.py build.conf +- ./configure --prefix="$PREFIX" --without-berkeley-db +install-commands: +- make install DESTDIR="$DESTDIR" +- make swig-pl +- make install-swig-pl DESTDIR="$DESTDIR" diff --git a/strata/trove/supple.morph b/strata/trove/supple.morph new file mode 100644 index 00000000..6470ba28 --- /dev/null +++ b/strata/trove/supple.morph @@ -0,0 +1,7 @@ +name: supple +kind: chunk +description: Sandbox (for) Untrusted Procedure Partitioning (in) Lua Engine. +build-commands: +- make +install-commands: +- make INST_BASE="$PREFIX" DESTDIR="$DESTDIR" install diff --git a/strata/trove/swig-tarball.morph b/strata/trove/swig-tarball.morph new file mode 100644 index 00000000..61f154a4 --- /dev/null +++ b/strata/trove/swig-tarball.morph @@ -0,0 +1,5 @@ +name: swig-tarball +kind: chunk +build-system: autotools +configure-commands: +- ./configure --prefix="$PREFIX" --disable-ccache diff --git a/strata/trove/trove-setup.morph b/strata/trove/trove-setup.morph new file mode 100644 index 00000000..1f49760f --- /dev/null +++ b/strata/trove/trove-setup.morph @@ -0,0 +1,4 @@ +name: trove-setup +kind: chunk +install-commands: +- make install DESTDIR="$DESTDIR" -- cgit v1.2.1