diff options
author | Sam Thursfield <sam.thursfield@codethink.co.uk> | 2017-07-07 10:01:07 +0000 |
---|---|---|
committer | Sam Thursfield <sam.thursfield@codethink.co.uk> | 2017-07-07 10:01:07 +0000 |
commit | f6046f9b54c1f14d12a67fa66ca0c881b49e8ceb (patch) | |
tree | 7c4d5b1aa87b991fecb0b2c585514069947c3f0a /old/unmaintained/strata/apache-httpd-server/apr.morph | |
parent | deba555368fd21316025c5ee0eaaf517b938775e (diff) | |
download | definitions-f6046f9b54c1f14d12a67fa66ca0c881b49e8ceb.tar.gz |
Move old Baserock format definitions into old/ directory
Diffstat (limited to 'old/unmaintained/strata/apache-httpd-server/apr.morph')
-rw-r--r-- | old/unmaintained/strata/apache-httpd-server/apr.morph | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/old/unmaintained/strata/apache-httpd-server/apr.morph b/old/unmaintained/strata/apache-httpd-server/apr.morph new file mode 100644 index 00000000..aaba1954 --- /dev/null +++ b/old/unmaintained/strata/apache-httpd-server/apr.morph @@ -0,0 +1,22 @@ +name: apr +kind: chunk +build-system: autotools +configure-commands: +- ./buildconf +- | + ./configure --prefix="$PREFIX" \ + --disable-static \ + --enable-threads \ + --with-installbuilddir="$PREFIX"/share/apr-1/build +post-install-commands: +# Install files required for apr-util and httpd +- | + 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 (this is needed for httpd) +- ln -sf /usr/include/apr-2 "$DESTDIR$PREFIX"/share/apr-1/build/ +# Copy apr headers needed for mod_wsgi +- cp include/private/apr_support.h "$DESTDIR$PREFIX"/include/apr-2 +- cp include/arch/unix/apr_private.h "$DESTDIR$PREFIX"/include/apr-2 |