aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/cherokee/cherokee_0.5.3.bb
blob: 6664bf082483cf889988ff83da522db30767df77 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
SRC_URI_append = "file://configure.patch;apply=yes \
                  file://Makefile.in.patch;apply=yes \
                  file://Makefile.cget.patch;apply=yes \
                  file://util.patch;apply=yes"

require cherokee.inc
PR = "${INC_PR}.0"

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

do_install_prepend () {
        # It only needs this app during the install, so compile it natively
        ${BUILD_CC} ${BUILD_CFLAGS} -DHAVE_SYS_STAT_H -o cherokee_replace cherokee_replace.c
}

SRC_URI[md5sum] = "9e8dfc46f94ee150515be5d31bd40d16"
SRC_URI[sha256sum] = "c91699fe8cd2140e3b236257e7cb5ca4cd42e587a8f3eb932363f82f0e7212ef"