summaryrefslogtreecommitdiff
path: root/packages/libc-client
diff options
context:
space:
mode:
authorJeremy Laine <jeremy.laine@m4x.org>2008-02-01 10:41:47 +0000
committerJeremy Laine <jeremy.laine@m4x.org>2008-02-01 10:41:47 +0000
commit14d80f99d35b7f2f038c55e66e732fe280edf040 (patch)
tree9809e008a73ad5e2da827ef68a98bb66acb4e395 /packages/libc-client
parente41f85967bb4e37ec8de3798813d45335fc2fb24 (diff)
libc-client: package University of Washington's mail protocol library
Diffstat (limited to 'packages/libc-client')
-rw-r--r--packages/libc-client/.mtn2git_empty0
-rw-r--r--packages/libc-client/libc-client_2007.bb25
2 files changed, 25 insertions, 0 deletions
diff --git a/packages/libc-client/.mtn2git_empty b/packages/libc-client/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/libc-client/.mtn2git_empty
diff --git a/packages/libc-client/libc-client_2007.bb b/packages/libc-client/libc-client_2007.bb
new file mode 100644
index 0000000000..87035afec4
--- /dev/null
+++ b/packages/libc-client/libc-client_2007.bb
@@ -0,0 +1,25 @@
+DESCRIPTION = "UW c-client library for mail protocols"
+SECTION = "devel"
+PRIORITY = "optional"
+LICENSE = "University of Washington's Free-Fork License"
+DEPENDS = "libpam openssl"
+
+SRC_URI = "ftp://ftp.cac.washington.edu/imap/c-client.tar.Z"
+
+S = "${WORKDIR}/imap-2007"
+
+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_stage() {
+ install -d ${STAGING_INCDIR}/c-client
+ install ${HEADERS} ${STAGING_INCDIR}/c-client
+ install c-client/c-client.a ${STAGING_LIBDIR}/libc-client.a
+}
+