diff options
| author | Eric Bénard <eric@eukrea.com> | 2012-11-25 18:25:05 +0100 |
|---|---|---|
| committer | Paul Eggleton <paul.eggleton@linux.intel.com> | 2012-11-27 10:48:22 +0000 |
| commit | 5b3749ca143c5e2a957d1509d65164e191a92883 (patch) | |
| tree | 4a982d00b4450b2729eca6018a7f4c03ba0df9f5 /meta-webserver/recipes-httpd/apache2/apache2-native_2.4.3.bb | |
| parent | 5b427f6daae0caa7439256ecf35a877f1cb2dbed (diff) | |
| download | meta-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.bb | 43 |
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 @@ | |||
| 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] = "87aaf7bc7e8715f0455997bb8c6791aa" | ||
| 18 | SRC_URI[sha256sum] = "d82102b9c111f1892fb20a2bccf4370de579c6521b2f172ed0b36f2759fb249e" | ||
| 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 | |||
