summaryrefslogtreecommitdiff
path: root/baserock/strata/lorry
diff options
context:
space:
mode:
Diffstat (limited to 'baserock/strata/lorry')
-rw-r--r--baserock/strata/lorry/cvs-tarball.morph10
-rw-r--r--baserock/strata/lorry/cvsps.morph6
-rw-r--r--baserock/strata/lorry/hg-fast-export.morph10
-rw-r--r--baserock/strata/lorry/libapr-util.morph7
-rw-r--r--baserock/strata/lorry/libapr.morph21
-rw-r--r--baserock/strata/lorry/libserf.morph6
-rw-r--r--baserock/strata/lorry/lorry.morph3
-rw-r--r--baserock/strata/lorry/mercurial-tarball.morph6
-rw-r--r--baserock/strata/lorry/neon.morph8
-rw-r--r--baserock/strata/lorry/perl-dbi-tarball.morph5
-rw-r--r--baserock/strata/lorry/subversion-tarball.morph12
-rw-r--r--baserock/strata/lorry/swig.morph7
12 files changed, 101 insertions, 0 deletions
diff --git a/baserock/strata/lorry/cvs-tarball.morph b/baserock/strata/lorry/cvs-tarball.morph
new file mode 100644
index 00000000..e03250e2
--- /dev/null
+++ b/baserock/strata/lorry/cvs-tarball.morph
@@ -0,0 +1,10 @@
+name: cvs-tarball
+kind: chunk
+build-system: autotools
+pre-configure-commands:
+- cp /usr/share/automake*/config.guess build-aux
+- cp /usr/share/automake*/config.sub build-aux
+configure-commands:
+- YACC='bison -y' ./configure --prefix "$PREFIX" --with-external-zlib --without-gssapi
+ --without-krb4 --disable-dependency-tracking --disable-nls --disable-rpath
+ --enable-rootcommit
diff --git a/baserock/strata/lorry/cvsps.morph b/baserock/strata/lorry/cvsps.morph
new file mode 100644
index 00000000..ff53784e
--- /dev/null
+++ b/baserock/strata/lorry/cvsps.morph
@@ -0,0 +1,6 @@
+name: cvsps
+kind: chunk
+build-commands:
+- make
+install-commands:
+- make install prefix="$DESTDIR$PREFIX"
diff --git a/baserock/strata/lorry/hg-fast-export.morph b/baserock/strata/lorry/hg-fast-export.morph
new file mode 100644
index 00000000..ef99a97a
--- /dev/null
+++ b/baserock/strata/lorry/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/baserock/strata/lorry/libapr-util.morph b/baserock/strata/lorry/libapr-util.morph
new file mode 100644
index 00000000..26db03ba
--- /dev/null
+++ b/baserock/strata/lorry/libapr-util.morph
@@ -0,0 +1,7 @@
+name: libapr-util
+kind: chunk
+build-system: autotools
+pre-configure-commands:
+- ./buildconf --with-apr=/usr/share/apr-1
+configure-commands:
+- ./configure --prefix "$PREFIX" --with-apr=/usr/bin/apr-1-config
diff --git a/baserock/strata/lorry/libapr.morph b/baserock/strata/lorry/libapr.morph
new file mode 100644
index 00000000..57d35b84
--- /dev/null
+++ b/baserock/strata/lorry/libapr.morph
@@ -0,0 +1,21 @@
+name: libapr
+kind: chunk
+build-system: autotools
+pre-configure-commands:
+- ./buildconf
+configure-commands:
+- |
+ ./configure \
+ --prefix "$PREFIX" \
+ --disable-static \
+ --with-installbuilddir=/usr/share/apr-1/build
+post-install-commands:
+- |
+ # Install files required for apr-util
+ for file in find_apr.m4 apr_common.m4 install.sh gen-build.py \
+ get-version.sh config.guess config.sub
+ do
+ cp build/$file "$DESTDIR/$PREFIX"/share/apr-1/build/"$file"
+ done
+ # Create a symlink in the build directory to the include directory
+ ln -sf /usr/include/apr-1 "$DESTDIR/$PREFIX"/share/apr-1/build/
diff --git a/baserock/strata/lorry/libserf.morph b/baserock/strata/lorry/libserf.morph
new file mode 100644
index 00000000..d4bb415d
--- /dev/null
+++ b/baserock/strata/lorry/libserf.morph
@@ -0,0 +1,6 @@
+name: libserf
+kind: chunk
+build-system: autotools
+pre-configure-commands:
+- cp /usr/share/automake*/config.guess build
+- cp /usr/share/automake*/config.sub build
diff --git a/baserock/strata/lorry/lorry.morph b/baserock/strata/lorry/lorry.morph
new file mode 100644
index 00000000..6b8cb355
--- /dev/null
+++ b/baserock/strata/lorry/lorry.morph
@@ -0,0 +1,3 @@
+name: lorry
+kind: chunk
+build-system: python-distutils
diff --git a/baserock/strata/lorry/mercurial-tarball.morph b/baserock/strata/lorry/mercurial-tarball.morph
new file mode 100644
index 00000000..03264f56
--- /dev/null
+++ b/baserock/strata/lorry/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/baserock/strata/lorry/neon.morph b/baserock/strata/lorry/neon.morph
new file mode 100644
index 00000000..19f8e83f
--- /dev/null
+++ b/baserock/strata/lorry/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/baserock/strata/lorry/perl-dbi-tarball.morph b/baserock/strata/lorry/perl-dbi-tarball.morph
new file mode 100644
index 00000000..9eb3a537
--- /dev/null
+++ b/baserock/strata/lorry/perl-dbi-tarball.morph
@@ -0,0 +1,5 @@
+name: perl-dbi-tarball
+kind: chunk
+build-system: cpan
+build-commands:
+- make -j1
diff --git a/baserock/strata/lorry/subversion-tarball.morph b/baserock/strata/lorry/subversion-tarball.morph
new file mode 100644
index 00000000..8fd1bc08
--- /dev/null
+++ b/baserock/strata/lorry/subversion-tarball.morph
@@ -0,0 +1,12 @@
+name: subversion-tarball
+kind: chunk
+build-system: autotools
+pre-configure-commands:
+- LIBTOOL_CONFIG=/usr/share/libtool/build-aux/ ./autogen.sh
+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/baserock/strata/lorry/swig.morph b/baserock/strata/lorry/swig.morph
new file mode 100644
index 00000000..8a7d51b6
--- /dev/null
+++ b/baserock/strata/lorry/swig.morph
@@ -0,0 +1,7 @@
+name: swig
+kind: chunk
+build-system: autotools
+pre-configure-commands:
+- ./autogen.sh
+configure-commands:
+- ./configure --prefix="$PREFIX" --disable-ccache