From 709c4d66e0b107ca606941b988bad717c0b45d9b Mon Sep 17 00:00:00 2001 From: Denys Dmytriyenko Date: Tue, 17 Mar 2009 14:32:59 -0400 Subject: rename packages/ to recipes/ per earlier agreement See links below for more details: http://thread.gmane.org/gmane.comp.handhelds.openembedded/21326 http://thread.gmane.org/gmane.comp.handhelds.openembedded/21816 Signed-off-by: Denys Dmytriyenko Acked-by: Mike Westerhof Acked-by: Philip Balister Acked-by: Khem Raj Acked-by: Marcin Juszkiewicz Acked-by: Koen Kooi Acked-by: Frans Meulenbroeks --- recipes/libc-client/files/quote_cctype.patch | 12 ++++++++++++ recipes/libc-client/libc-client_2007a1.bb | 26 ++++++++++++++++++++++++++ 2 files changed, 38 insertions(+) create mode 100644 recipes/libc-client/files/quote_cctype.patch create mode 100644 recipes/libc-client/libc-client_2007a1.bb (limited to 'recipes/libc-client') diff --git a/recipes/libc-client/files/quote_cctype.patch b/recipes/libc-client/files/quote_cctype.patch new file mode 100644 index 0000000000..f729ee2074 --- /dev/null +++ b/recipes/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/recipes/libc-client/libc-client_2007a1.bb b/recipes/libc-client/libc-client_2007a1.bb new file mode 100644 index 0000000000..b337a344a7 --- /dev/null +++ b/recipes/libc-client/libc-client_2007a1.bb @@ -0,0 +1,26 @@ +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/imap-${PV}.tar.Z \ + file://quote_cctype.patch;patch=1" + +S = "${WORKDIR}/imap-2007a" + +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 +} + -- cgit v1.2.3