diff options
Diffstat (limited to 'meta-webserver/recipes-httpd/apache2/apache2-native_2.4.2.bb')
-rw-r--r-- | meta-webserver/recipes-httpd/apache2/apache2-native_2.4.2.bb | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/meta-webserver/recipes-httpd/apache2/apache2-native_2.4.2.bb b/meta-webserver/recipes-httpd/apache2/apache2-native_2.4.2.bb new file mode 100644 index 0000000000..17482ae0e1 --- /dev/null +++ b/meta-webserver/recipes-httpd/apache2/apache2-native_2.4.2.bb | |||
@@ -0,0 +1,43 @@ | |||
1 | DESCRIPTION = "The Apache HTTP Server is a powerful, efficient, and \ | ||
2 | extensible web server." | ||
3 | SUMMARY = "Apache HTTP Server" | ||
4 | HOMEPAGE = "http://httpd.apache.org/" | ||
5 | DEPENDS = "expat-native pcre-native apr-native apr-util-native" | ||
6 | SECTION = "net" | ||
7 | LICENSE = "Apache-2.0" | ||
8 | PR = "r0" | ||
9 | |||
10 | inherit native | ||
11 | |||
12 | SRC_URI = "http://www.apache.org/dist/httpd/httpd-${PV}.tar.bz2" | ||
13 | |||
14 | S = "${WORKDIR}/httpd-${PV}" | ||
15 | |||
16 | LIC_FILES_CHKSUM = "file://LICENSE;md5=eff226ae95d0516d6210ed77dfdf2dcc" | ||
17 | SRC_URI[md5sum] = "6bb12f726e22656f0ad2baf91f1f8329" | ||
18 | SRC_URI[sha256sum] = "5382f9c507d3d02706e33d6308ea041f39e8511b5948aef0ca188df8f90159b8" | ||
19 | |||
20 | do_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 | |||
26 | do_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 | |||