blob: 468561d40d9e7a7bd89323b498bbac59672e6ae8 (
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
29
30
31
|
SECTION = "console/network"
DEPENDS = "cyrus-sasl db"
LICENSE = "BSD"
PR = "r1"
SRC_URI = "ftp://ftp.andrew.cmu.edu/pub/cyrus-mail/cyrus-imapd-${PV}.tar.gz \
file://install-sh \
file://autotools.patch;patch=1 \
file://tail.patch;patch=1"
inherit autotools
EXTRA_OECONF = "--with-auth=unix \
--without-perl \
--without-snmp"
FILES_${PN} += "${prefix}/cyrus/bin"
# Target only, the db4 headers are in include/db4, so *prepend* this
# directory to the search path
TARGET_CPPFLAGS =+ "-I${STAGING_DIR}/${TARGET_SYS}/include/db4"
# All, lib/foo.c includes <config.h> from the top level directory and
# is natively compiled
BUILD_CPPFLAGS += " -I${S} -I${S}/et"
do_install () {
# This will make the -s option work somewhat portably cross
# platform
STRIPPROG="$STRIP" oe_runmake 'DESTDIR=${D}' INSTALL='sh ${WORKDIR}/install-sh' install
}
|