diff options
author | Francisco Redondo Marchena <francisco.marchena@codethink.co.uk> | 2015-01-09 12:09:00 +0000 |
---|---|---|
committer | Francisco Redondo Marchena <francisco.marchena@codethink.co.uk> | 2015-01-22 12:46:29 +0000 |
commit | 39bf81cb8e62617835390573bb960be8962a0a74 (patch) | |
tree | aa574f8b8f2b2c6e620dfe412a89f980a59f952e /strata/apache-httpd-server/apr.morph | |
parent | 2196309da5dabee3de1e735846b211f1dd63270e (diff) | |
download | definitions-39bf81cb8e62617835390573bb960be8962a0a74.tar.gz |
Add apache httpd server stratum
Diffstat (limited to 'strata/apache-httpd-server/apr.morph')
-rw-r--r-- | strata/apache-httpd-server/apr.morph | 20 |
1 files changed, 20 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..4c09b98c --- /dev/null +++ b/strata/apache-httpd-server/apr.morph @@ -0,0 +1,20 @@ +name: apr +kind: chunk +configure-commands: +- ./buildconf +- | + ./configure --prefix="$PREFIX" \ + --disable-static \ + --with-installbuilddir="$PREFIX"/share/apr-1/build +build-commands: +- make +install-commands: +- PREFIX="$PREFIX" DESTDIR="$DESTDIR" make install +# 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 +- ln -sf /usr/include/apr-2 "$DESTDIR$PREFIX"/share/apr-1/build/ |