diff options
author | Martin Jansa <Martin.Jansa@gmail.com> | 2012-07-30 23:45:37 +0200 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2012-07-31 00:14:55 +0200 |
commit | 5c13fc859ed4e05777a1ce5d8952c0dfbfe62278 (patch) | |
tree | ac9c06525bffcf92257e2ad6c7e3c51ab4dfe273 /meta-oe | |
parent | edd4f5c9bb90ef248be5b1da7e149b5aea8f68f7 (diff) | |
download | meta-openembedded-5c13fc859ed4e05777a1ce5d8952c0dfbfe62278.tar.gz |
libetpan: import from meta-smartphone
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-oe')
3 files changed, 47 insertions, 0 deletions
diff --git a/meta-oe/recipes-support/libetpan/libetpan-0.57/libetpan-autoreconf.patch b/meta-oe/recipes-support/libetpan/libetpan-0.57/libetpan-autoreconf.patch new file mode 100644 index 000000000..d05967da3 --- /dev/null +++ b/meta-oe/recipes-support/libetpan/libetpan-0.57/libetpan-autoreconf.patch | |||
@@ -0,0 +1,12 @@ | |||
1 | Index: libetpan-0.57/configure.ac | ||
2 | =================================================================== | ||
3 | --- libetpan-0.57.orig/configure.ac 2008-10-08 19:54:20.000000000 +0000 | ||
4 | +++ libetpan-0.57/configure.ac 2008-11-11 16:34:33.000000000 +0000 | ||
5 | @@ -106,6 +106,7 @@ | ||
6 | |||
7 | # Check the C compiler. | ||
8 | AC_PROG_CC | ||
9 | +AC_PROG_CXX | ||
10 | |||
11 | # Compiler flags. | ||
12 | AC_ARG_ENABLE(debug, [ --enable-debug setup flags (gcc) for debugging (default=no)], | ||
diff --git a/meta-oe/recipes-support/libetpan/libetpan-0.57/libetpan-ldflags.patch b/meta-oe/recipes-support/libetpan/libetpan-0.57/libetpan-ldflags.patch new file mode 100644 index 000000000..438f44f15 --- /dev/null +++ b/meta-oe/recipes-support/libetpan/libetpan-0.57/libetpan-ldflags.patch | |||
@@ -0,0 +1,11 @@ | |||
1 | --- libetpan-0.57/configure.ac~ 2009-09-21 23:31:42.000000000 +0200 | ||
2 | +++ libetpan-0.57/configure.ac 2009-09-21 23:31:42.000000000 +0200 | ||
3 | @@ -457,7 +457,7 @@ | ||
4 | LDFLAGS="-$flag $LDFLAGS" | ||
5 | AC_TRY_LINK([], [pthread_create();], | ||
6 | [pthflag=yes; checkpthread=no], | ||
7 | - [pthflag=no; LDFLAGS="$OLDCFLAGS"]) | ||
8 | + [pthflag=no; LDFLAGS="$OLDFLAGS"]) | ||
9 | AC_MSG_RESULT($pthflag) | ||
10 | fi | ||
11 | done | ||
diff --git a/meta-oe/recipes-support/libetpan/libetpan_0.57.bb b/meta-oe/recipes-support/libetpan/libetpan_0.57.bb new file mode 100644 index 000000000..7049938ba --- /dev/null +++ b/meta-oe/recipes-support/libetpan/libetpan_0.57.bb | |||
@@ -0,0 +1,24 @@ | |||
1 | DESCRIPTION = "libetpan is a library for communicating with mail and news servers. \ | ||
2 | It supports the protocols SMTP, POP3, IMAP and NNTP." | ||
3 | HOMEPAGE = "http://www.etpan.org" | ||
4 | SECTION = "libs" | ||
5 | DEPENDS = "gnutls" | ||
6 | LICENSE = "BSD" | ||
7 | LIC_FILES_CHKSUM = "file://COPYRIGHT;md5=f18ebe7e452708c26f83954f81062ba7" | ||
8 | |||
9 | SRC_URI = "${SOURCEFORGE_MIRROR}/libetpan/libetpan-${PV}.tar.gz \ | ||
10 | file://libetpan-autoreconf.patch \ | ||
11 | file://libetpan-ldflags.patch" | ||
12 | |||
13 | inherit autotools pkgconfig gettext binconfig | ||
14 | |||
15 | EXTRA_OECONF = "--without-openssl --with-gnutls --disable-db" | ||
16 | |||
17 | PARALLEL_MAKE = "" | ||
18 | |||
19 | FILES_${PN} = "${libdir}/lib*.so.*" | ||
20 | FILES_${PN}-dev = "${bindir} ${includedir} ${libdir}/lib*.so ${libdir}/*.la ${libdir}/*.a ${libdir}/pkgconfig" | ||
21 | |||
22 | |||
23 | SRC_URI[md5sum] = "8ce8c6c071e81884a475b12b7f9a9cc0" | ||
24 | SRC_URI[sha256sum] = "1f3fda5c9e2961d1a6298dc8aadae321493d37727d8db45bc2e8d58f20547011" | ||