summaryrefslogtreecommitdiff
path: root/recipes/libc-client/libc-client_2007b.bb
blob: 8e850f7996d74091372c8fc901138b0df3001d58 (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
DESCRIPTION = "UW c-client library for mail protocols"
SECTION = "devel"
PRIORITY = "optional"
LICENSE = "University of Washingtons Free-Fork License"
DEPENDS = "libpam openssl libpam"

SRC_URI = "ftp://ftp.cac.washington.edu/imap/imap-${PV}.tar.Z \
	   file://quote_cctype.patch;patch=1"

S = "${WORKDIR}/imap-${PV}"

EXTRA_OEMAKE = "CC='${CC}'"

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"

do_compile() {
	echo "SSLINCLUDE=${STAGING_INCDIR}/openssl SSLLIB=${STAGING_LIBDIR}" > ${S}/SPECIALS
	oe_runmake lnp
}

do_install() {
        install -d ${D}${includedir}/c-client
        install ${HEADERS} ${D}${includedir}/c-client
	install -d ${D}${libdir}
        install c-client/c-client.a ${D}${libdir}/libc-client.a
}


SRC_URI[md5sum] = "4d59ce6303cf8ef93ff51341b1ce2df7"
SRC_URI[sha256sum] = "b3170bef59f416be1f710be58333f9b0c2c8b0fe137062accd4f5f13a3785cd0"