summaryrefslogtreecommitdiffstats
path: root/meta-webserver/recipes-httpd/apache2/apache2-native_2.4.3.bb
diff options
context:
space:
mode:
authorEric Bénard <eric@eukrea.com>2012-11-25 18:25:05 +0100
committerPaul Eggleton <paul.eggleton@linux.intel.com>2012-11-27 10:48:22 +0000
commit5b3749ca143c5e2a957d1509d65164e191a92883 (patch)
tree4a982d00b4450b2729eca6018a7f4c03ba0df9f5 /meta-webserver/recipes-httpd/apache2/apache2-native_2.4.3.bb
parent5b427f6daae0caa7439256ecf35a877f1cb2dbed (diff)
downloadmeta-openembedded-5b3749ca143c5e2a957d1509d65164e191a92883.tar.gz
apache2: upgrade to 2.4.3
Signed-off-by: Eric Bénard <eric@eukrea.com>
Diffstat (limited to 'meta-webserver/recipes-httpd/apache2/apache2-native_2.4.3.bb')
-rw-r--r--meta-webserver/recipes-httpd/apache2/apache2-native_2.4.3.bb43
1 files changed, 43 insertions, 0 deletions
diff --git a/meta-webserver/recipes-httpd/apache2/apache2-native_2.4.3.bb b/meta-webserver/recipes-httpd/apache2/apache2-native_2.4.3.bb
new file mode 100644
index 0000000000..230510c05e
--- /dev/null
+++ b/meta-webserver/recipes-httpd/apache2/apache2-native_2.4.3.bb
@@ -0,0 +1,43 @@
1DESCRIPTION = "The Apache HTTP Server is a powerful, efficient, and \
2extensible web server."
3SUMMARY = "Apache HTTP Server"
4HOMEPAGE = "http://httpd.apache.org/"
5DEPENDS = "expat-native pcre-native apr-native apr-util-native"
6SECTION = "net"
7LICENSE = "Apache-2.0"
8PR = "r0"
9
10inherit native
11
12SRC_URI = "http://www.apache.org/dist/httpd/httpd-${PV}.tar.bz2"
13
14S = "${WORKDIR}/httpd-${PV}"
15
16LIC_FILES_CHKSUM = "file://LICENSE;md5=eff226ae95d0516d6210ed77dfdf2dcc"
17SRC_URI[md5sum] = "87aaf7bc7e8715f0455997bb8c6791aa"
18SRC_URI[sha256sum] = "d82102b9c111f1892fb20a2bccf4370de579c6521b2f172ed0b36f2759fb249e"
19
20do_configure () {
21 ./configure --with-apr=${STAGING_BINDIR_CROSS}/apr-1-config \
22 --with-apr-util=${STAGING_BINDIR_CROSS}/apu-1-config \
23 --prefix=${prefix} --datadir=${datadir}/apache2
24}
25
26do_install () {
27 install -d ${D}${bindir} ${D}${libdir}
28 cp server/gen_test_char ${D}${bindir}
29 install -m 755 support/apxs ${D}${bindir}/
30 install -m 755 httpd ${D}${bindir}/
31 install -d ${D}${datadir}/apache2/build
32 cp build/*.mk ${D}${datadir}/apache2/build
33 cp build/instdso.sh ${D}${datadir}/apache2/build
34
35 install -d ${D}${includedir}/apache2
36 cp include/* ${D}${includedir}/apache2
37 cp os/unix/os.h ${D}${includedir}/apache2
38 cp os/unix/unixd.h ${D}${includedir}/apache2
39
40 cp support/envvars-std ${D}${bindir}/envvars
41 chmod 755 ${D}${bindir}/envvars
42}
43