Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 1 | SUMMARY = "Websocket module for Apache web server" |
| 2 | DESCRIPTION = "Process requests using the WebSocket protocol (RFC 6455)" |
| 3 | HOMEPAGE = "https://github.com/jchampio/${PN}/" |
| 4 | SECTION = "net" |
| 5 | LICENSE = "Apache-2.0" |
| 6 | |
| 7 | inherit autotools-brokensep pkgconfig |
| 8 | |
Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 9 | DEPENDS = "apache2 apache2-native pbzip2-native" |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 10 | RDEPENDS_${PN} += "apache2" |
| 11 | |
| 12 | # Original (github.com/disconnect/apache-websocket) is dead since 2012, the |
| 13 | # fork contains patches from the modules ML and fixes CVE compliance issues |
| 14 | SRC_URI = "git://github.com/jchampio/apache-websocket.git" |
| 15 | |
| 16 | SRCREV = "f5230d8c520dccf8631da94bf90c23f3c1100dcc" |
| 17 | |
| 18 | PV = "0.1.1" |
| 19 | |
| 20 | S = "${WORKDIR}/git" |
| 21 | |
| 22 | LIC_FILES_CHKSUM = "file://LICENSE;md5=2ee41112a44fe7014dce33e26468ba93" |
| 23 | |
| 24 | EXTRA_OECONF = "APACHECTL=${STAGING_DIR_TARGET}${sbindir}/apachectl \ |
| 25 | LIBTOOL=${STAGING_DIR_TARGET}${bindir_crossscripts}/${HOST_SYS}-libtool" |
| 26 | |
| 27 | do_install() { |
| 28 | install -d ${D}${libdir}/apache2/modules/ |
| 29 | install ${B}/.libs/mod_websocket.so ${D}${libdir}/apache2/modules/ |
| 30 | } |
| 31 | |
| 32 | FILES_${PN} += " ${libdir}/apache2/modules/* " |
| 33 | FILES_${PN}-dbg += " ${libdir}/apache2/modules/.debug/* " |