summaryrefslogtreecommitdiff
path: root/packages/cherokee/cherokee_0.5.3.bb
blob: e6ea8e03fb7e01d296e6f9db099189ee891a2774 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
DESCRIPTION = "Cherokee Web Server fast and secure"
LICENSE = "GPL"
DEPENDS = "pcre gnutls"
HOMEPAGE = "http://www.0x50.org/"
SRC_URI = "http://www.0x50.org/download/0.5/${PV}/${P}.tar.gz \
	  file://configure.patch;patch=1 \
	  file://Makefile.in.patch;patch=1 \
	  file://Makefile.cget.patch;patch=1 \
	  file://util.patch;patch=1 \
"

inherit autotools

PARALLEL_MAKE=""

LEAD_SONAME = "libcherokee-base"

EXTRA_OECONF = "--enable-tls=gnutls --disable-static --disable-nls"

do_configure() {
	gnu-configize
	oe_runconf
	sed -i 's:-L\$:-L${STAGING_LIBDIR} -L\$:' ${S}/*libtool
}

do_install_prepend () {
	$BUILD_CC -DHAVE_SYS_STAT_H -o cherokee_replace cherokee_replace.c
}