ecj-initial: convert to new staging system
[openembedded.git] / recipes / apache2 / apache2-native_2.2.14.bb
blobfcbb7dd34bd8c941dc2ff4002c3ee430d8124a9b
1 SECTION = "net"
2 DEPENDS = "expat pcre"
4 inherit native
6 PR ="r1"
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_stage () {
16 install -d ${STAGING_BINDIR_NATIVE}
17 cp server/gen_test_char ${STAGING_BINDIR_NATIVE}
18 cp srclib/apr/apr-1-config ${STAGING_BINDIR_NATIVE}
19 cp srclib/apr-util/apu-1-config ${STAGING_BINDIR_NATIVE}
20 cp support/apxs ${STAGING_BINDIR_NATIVE}
21 chmod 755 ${STAGING_BINDIR_NATIVE}/apxs
22 mkdir -p ${STAGING_DIR_NATIVE}//usr/build
23 cp build/*.mk ${STAGING_DIR_NATIVE}/usr/build
24 cp build/instdso.sh ${STAGING_DIR_NATIVE}/usr/build
25 cp .libs/httpd ${STAGING_BINDIR_NATIVE}
27 (cd srclib/apr/.libs; tar -cf - libapr-*.so* ) |
28 (cd ${STAGING_LIBDIR_NATIVE}; tar -xf - )
29 (cd srclib/apr-util/.libs; tar -cf - libaprutil-*.so* ) |
30 (cd ${STAGING_LIBDIR_NATIVE}; tar -xf - )
32 mkdir -p ${STAGING_INCDIR_NATIVE}/apache2
33 cp include/* ${STAGING_INCDIR_NATIVE}/apache2
34 cp os/unix/os.h ${STAGING_INCDIR_NATIVE}/apache2
35 cp os/unix/unixd.h ${STAGING_INCDIR_NATIVE}/apache2
37 cp support/envvars-std ${STAGING_BINDIR_NATIVE}/envvars
38 chmod 755 ${STAGING_BINDIR_NATIVE}/envvars
41 SRC_URI[md5sum] = "a5226203aaf97e5b941c41a71c112704"
42 SRC_URI[sha256sum] = "b2deab8a5e797fde7a04fb4a5ebfa9c80f767d064dd19dcd2857c94838ae3ac6"