diff options
author | Francisco Redondo Marchena <francisco.marchena@codethink.co.uk> | 2015-02-19 15:05:52 +0000 |
---|---|---|
committer | Francisco Redondo Marchena <francisco.marchena@codethink.co.uk> | 2015-02-19 15:05:52 +0000 |
commit | 7aa8bbea09b6a1b6413e8fd4892df5a27a8d7232 (patch) | |
tree | 70c441c58bbf05a8744745a1a8dea017f6074c1d /strata/apache-httpd-server/apr.morph | |
parent | d2b4ebbbc86bf2ee34ec47aab69839c1a32bb089 (diff) | |
parent | 880f21cfa9129eec903f0aa07f15eb5a457125b0 (diff) | |
download | definitions-baserock/sam/15.08-release.tar.gz |
Merge branch 'baserock/franred/add-apache-httpd-stratum-v3'baserock/sam/15.08-release
Reviewed-by: Pedro Alvarez <pedro.alvarez@codethink.co.uk>
Reviewed-by: Richard Maw <richard.maw@codethink.co.uk>
Diffstat (limited to 'strata/apache-httpd-server/apr.morph')
-rw-r--r-- | strata/apache-httpd-server/apr.morph | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/strata/apache-httpd-server/apr.morph b/strata/apache-httpd-server/apr.morph new file mode 100644 index 00000000..aaba1954 --- /dev/null +++ b/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 |