[oe-commits] Koen Kooi : libc-client: import from OE classic

git at git.openembedded.org git at git.openembedded.org
Thu Nov 3 14:23:19 UTC 2011


Module: meta-openembedded.git
Branch: master
Commit: b2bed436b4f0e14c1df71a7edfd10b94099e93b7
URL:    http://git.openembedded.org/?p=meta-openembedded.git&a=commit;h=b2bed436b4f0e14c1df71a7edfd10b94099e93b7

Author: Koen Kooi <koen at dominion.thruhere.net>
Date:   Wed Nov  2 16:53:10 2011 +0100

libc-client: import from OE classic

Signed-off-by: Koen Kooi <koen at dominion.thruhere.net>

---

 .../libc-client/files/quote_cctype.patch           |   12 +++++++
 .../libc-client/libc-client_2007e.bb               |   32 ++++++++++++++++++++
 2 files changed, 44 insertions(+), 0 deletions(-)

diff --git a/meta-oe/recipes-devtools/libc-client/files/quote_cctype.patch b/meta-oe/recipes-devtools/libc-client/files/quote_cctype.patch
new file mode 100644
index 0000000..f729ee2
--- /dev/null
+++ b/meta-oe/recipes-devtools/libc-client/files/quote_cctype.patch
@@ -0,0 +1,12 @@
+diff -urN imap-2007.orig/Makefile imap-2007/Makefile
+--- imap-2007.orig/Makefile	2007-12-20 23:11:10.000000000 +0100
++++ imap-2007/Makefile	2008-03-19 14:08:47.000000000 +0100
+@@ -690,7 +690,7 @@
+ 	@$(SH) -c '(test $(BUILDTYPE) = rebuild -o $(BUILDTYPE) = `$(CAT) OSTYPE`) || (echo Already built for `$(CAT) OSTYPE` -- you must do \"make clean\" first && exit 1)'
+ 	@echo Rebuilding c-client for `$(CAT) OSTYPE`...
+ 	@$(TOUCH) SPECIALS
+-	$(CD) c-client;$(MAKE) all CC=`$(CAT) CCTYPE` \
++	$(CD) c-client;$(MAKE) all CC="`$(CAT) CCTYPE`" \
+ 	 CFLAGS="`$(CAT) CFLAGS`" `$(CAT) SPECIALS`
+ 
+ rebuildclean:
diff --git a/meta-oe/recipes-devtools/libc-client/libc-client_2007e.bb b/meta-oe/recipes-devtools/libc-client/libc-client_2007e.bb
new file mode 100644
index 0000000..e67639e
--- /dev/null
+++ b/meta-oe/recipes-devtools/libc-client/libc-client_2007e.bb
@@ -0,0 +1,32 @@
+DESCRIPTION = "UW c-client library for mail protocols"
+SECTION = "devel"
+
+LICENSE = "University of Washingtons Free-Fork License"
+LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=a6a4ddbb7cd2999f6827ee143f6fcd97"
+
+DEPENDS = "openssl libpam"
+
+SRC_URI = "ftp://ftp.cac.washington.edu/imap/imap-${PV}.tar.gz \
+           file://quote_cctype.patch"
+
+SRC_URI[md5sum] = "7903800dc2604000016de070e0c55840"
+SRC_URI[sha256sum] = "4b1137b87249782496ec3eeacaf83bbf09312a7d2ae3aead262179041b55565f"
+
+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} 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
+}
+





More information about the Openembedded-commits mailing list