diff options
Diffstat (limited to 'meta-oe/recipes-devtools/uw-imap/uw-imap_2007f.bb')
-rw-r--r-- | meta-oe/recipes-devtools/uw-imap/uw-imap_2007f.bb | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/meta-oe/recipes-devtools/uw-imap/uw-imap_2007f.bb b/meta-oe/recipes-devtools/uw-imap/uw-imap_2007f.bb new file mode 100644 index 000000000..e1a987710 --- /dev/null +++ b/meta-oe/recipes-devtools/uw-imap/uw-imap_2007f.bb | |||
@@ -0,0 +1,41 @@ | |||
1 | SUMMARY = "UW c-client library for mail protocols" | ||
2 | SECTION = "devel" | ||
3 | |||
4 | LICENSE = "Apache-2.0" | ||
5 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=a6a4ddbb7cd2999f6827ee143f6fcd97" | ||
6 | |||
7 | DEPENDS = "openssl libpam" | ||
8 | |||
9 | SRC_URI = "ftp://ftp.cac.washington.edu/imap/imap-${PV}.tar.gz \ | ||
10 | file://quote_cctype.patch \ | ||
11 | file://imap-2007e-shared.patch \ | ||
12 | file://imap-2007f-format-security.patch \ | ||
13 | " | ||
14 | |||
15 | SRC_URI[md5sum] = "2126fd125ea26b73b20f01fcd5940369" | ||
16 | SRC_URI[sha256sum] = "53e15a2b5c1bc80161d42e9f69792a3fa18332b7b771910131004eb520004a28" | ||
17 | |||
18 | S = "${WORKDIR}/imap-${PV}" | ||
19 | |||
20 | EXTRA_OEMAKE = "CC='${CC}'" | ||
21 | |||
22 | HEADERS = "src/c-client/*.h src/osdep/unix/*.h c-client/auths.c c-client/linkage.c c-client/linkage.h c-client/osdep.h" | ||
23 | |||
24 | do_compile() { | ||
25 | echo "SSLINCLUDE=${STAGING_INCDIR} SSLLIB=${STAGING_LIBDIR}" > ${S}/SPECIALS | ||
26 | oe_runmake lnp | ||
27 | } | ||
28 | |||
29 | do_install() { | ||
30 | install -d ${D}${includedir}/c-client | ||
31 | install ${HEADERS} ${D}${includedir}/c-client | ||
32 | install -d ${D}${libdir} | ||
33 | install c-client/c-client.a ${D}${libdir}/libc-client.a | ||
34 | } | ||
35 | |||
36 | RPROVIDES_${PN} = "libc-client" | ||
37 | RREPLACES_${PN} = "libc-client" | ||
38 | RCONFLICTS_${PN} = "libc-client" | ||
39 | |||
40 | ALLOW_EMPTY_${PN} = "1" | ||
41 | |||