diff options
Diffstat (limited to 'meta-webserver/recipes-httpd/apache2/apache2-native_2.4.9.bb')
-rw-r--r-- | meta-webserver/recipes-httpd/apache2/apache2-native_2.4.9.bb | 23 |
1 files changed, 13 insertions, 10 deletions
diff --git a/meta-webserver/recipes-httpd/apache2/apache2-native_2.4.9.bb b/meta-webserver/recipes-httpd/apache2/apache2-native_2.4.9.bb index aaa7e607d6..e50f2b8186 100644 --- a/meta-webserver/recipes-httpd/apache2/apache2-native_2.4.9.bb +++ b/meta-webserver/recipes-httpd/apache2/apache2-native_2.4.9.bb | |||
@@ -6,9 +6,11 @@ DEPENDS = "expat-native pcre-native apr-native apr-util-native" | |||
6 | SECTION = "net" | 6 | SECTION = "net" |
7 | LICENSE = "Apache-2.0" | 7 | LICENSE = "Apache-2.0" |
8 | 8 | ||
9 | inherit native | 9 | inherit autotools native |
10 | 10 | ||
11 | SRC_URI = "http://www.apache.org/dist/httpd/httpd-${PV}.tar.bz2" | 11 | SRC_URI = "http://www.apache.org/dist/httpd/httpd-${PV}.tar.bz2 \ |
12 | file://0001-configure-use-pkg-config-for-PCRE-detection.patch \ | ||
13 | " | ||
12 | 14 | ||
13 | S = "${WORKDIR}/httpd-${PV}" | 15 | S = "${WORKDIR}/httpd-${PV}" |
14 | 16 | ||
@@ -16,11 +18,10 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=dbff5a2b542fa58854455bf1a0b94b83" | |||
16 | SRC_URI[md5sum] = "2ef4e65353497606b24fa9bb3e5a3c40" | 18 | SRC_URI[md5sum] = "2ef4e65353497606b24fa9bb3e5a3c40" |
17 | SRC_URI[sha256sum] = "f78cc90dfa47caf3d83ad18fd6b4e85f237777c1733fc9088594b70ce2847603" | 19 | SRC_URI[sha256sum] = "f78cc90dfa47caf3d83ad18fd6b4e85f237777c1733fc9088594b70ce2847603" |
18 | 20 | ||
19 | do_configure () { | 21 | EXTRA_OECONF = "--with-apr=${STAGING_BINDIR_CROSS}/apr-1-config \ |
20 | ./configure --with-apr=${STAGING_BINDIR_CROSS}/apr-1-config \ | 22 | --with-apr-util=${STAGING_BINDIR_CROSS}/apu-1-config \ |
21 | --with-apr-util=${STAGING_BINDIR_CROSS}/apu-1-config \ | 23 | --prefix=${prefix} --datadir=${datadir}/apache2 \ |
22 | --prefix=${prefix} --datadir=${datadir}/apache2 | 24 | " |
23 | } | ||
24 | 25 | ||
25 | do_install () { | 26 | do_install () { |
26 | install -d ${D}${bindir} ${D}${libdir} | 27 | install -d ${D}${bindir} ${D}${libdir} |
@@ -28,13 +29,15 @@ do_install () { | |||
28 | install -m 755 support/apxs ${D}${bindir}/ | 29 | install -m 755 support/apxs ${D}${bindir}/ |
29 | install -m 755 httpd ${D}${bindir}/ | 30 | install -m 755 httpd ${D}${bindir}/ |
30 | install -d ${D}${datadir}/apache2/build | 31 | install -d ${D}${datadir}/apache2/build |
32 | cp ${S}/build/*.mk ${D}${datadir}/apache2/build | ||
31 | cp build/*.mk ${D}${datadir}/apache2/build | 33 | cp build/*.mk ${D}${datadir}/apache2/build |
32 | cp build/instdso.sh ${D}${datadir}/apache2/build | 34 | cp ${S}/build/instdso.sh ${D}${datadir}/apache2/build |
33 | 35 | ||
34 | install -d ${D}${includedir}/apache2 | 36 | install -d ${D}${includedir}/apache2 |
37 | cp ${S}/include/* ${D}${includedir}/apache2 | ||
35 | cp include/* ${D}${includedir}/apache2 | 38 | cp include/* ${D}${includedir}/apache2 |
36 | cp os/unix/os.h ${D}${includedir}/apache2 | 39 | cp ${S}/os/unix/os.h ${D}${includedir}/apache2 |
37 | cp os/unix/unixd.h ${D}${includedir}/apache2 | 40 | cp ${S}/os/unix/unixd.h ${D}${includedir}/apache2 |
38 | 41 | ||
39 | cp support/envvars-std ${D}${bindir}/envvars | 42 | cp support/envvars-std ${D}${bindir}/envvars |
40 | chmod 755 ${D}${bindir}/envvars | 43 | chmod 755 ${D}${bindir}/envvars |