am-benchmarks: Add support for am387x-evm machine
[openembedded.git] / recipes / apache2 / apache2-native_2.2.17.bb
blob66b326dde8dbcec61464688c574e3d36741b25f9
1 SECTION = "net"
2 DEPENDS = "expat pcre"
4 inherit native
6 PR = "r0"
7 SRC_URI = "http://www.apache.org/dist/httpd/httpd-${PV}.tar.bz2"
9 S = "${WORKDIR}/httpd-${PV}"
11 do_configure () {
12 ./configure --with-included-apr --prefix=${prefix}
15 do_install () {
16 install -d ${D}${bindir} ${D}${libdir}
17 cp server/gen_test_char ${D}${bindir}
18 cp srclib/apr/apr-1-config ${D}${bindir}
19 cp srclib/apr-util/apu-1-config ${D}${bindir}
20 cp support/apxs ${D}${bindir}
21 chmod 755 ${D}${bindir}/apxs
22 install -d ${D}/usr/build
23 cp build/*.mk ${D}/usr/build
24 cp build/instdso.sh ${D}/usr/build
25 cp .libs/httpd ${D}${bindir}
27 (cd srclib/apr/.libs; tar -cf - libapr-*.so* ) |
28 (cd ${D}${libdir}; tar -xf - )
29 (cd srclib/apr-util/.libs; tar -cf - libaprutil-*.so* ) |
30 (cd ${D}${libdir}; tar -xf - )
32 install -d ${D}${includedir}/apache2
33 cp include/* ${D}${includedir}/apache2
34 cp os/unix/os.h ${D}${includedir}/apache2
35 cp os/unix/unixd.h ${D}${includedir}/apache2
37 cp support/envvars-std ${D}${bindir}/envvars
38 chmod 755 ${D}${bindir}/envvars
41 NATIVE_INSTALL_WORKS = "1"
43 SRC_URI[md5sum] = "16eadc59ea6b38af33874d300973202e"
44 SRC_URI[sha256sum] = "868af11e3ed8fa9aade15241ea4f51971b3ef71104292ca2625ef2065e61fb04"