summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBian Naimeng <biannm@cn.fujitsu.com>2015-06-17 14:43:40 +0900
committerMartin Jansa <Martin.Jansa@gmail.com>2015-08-24 14:01:37 +0200
commitdbbdf3d241f76e2bcfc7e615e771f3907a597aa6 (patch)
tree211cb213899b4b8d9e4447a354b21b782cf55981
parentffd829b3093a1ad125f9ba1549e6dfcf9814b037 (diff)
downloadmeta-openembedded-dbbdf3d241f76e2bcfc7e615e771f3907a597aa6.tar.gz
libtevent: add new recipe
libtevent is required by samba4 Signed-off-by: Bian Naimeng <biannm@cn.fujitsu.com>
-rw-r--r--meta-oe/recipes-support/libtevent/libtevent/do-not-check-xsltproc-manpages.patch16
-rw-r--r--meta-oe/recipes-support/libtevent/libtevent_0.9.21.bb30
2 files changed, 46 insertions, 0 deletions
diff --git a/meta-oe/recipes-support/libtevent/libtevent/do-not-check-xsltproc-manpages.patch b/meta-oe/recipes-support/libtevent/libtevent/do-not-check-xsltproc-manpages.patch
new file mode 100644
index 0000000000..1ce4dda1c3
--- /dev/null
+++ b/meta-oe/recipes-support/libtevent/libtevent/do-not-check-xsltproc-manpages.patch
@@ -0,0 +1,16 @@
1Don't check manpages for xsltproc.
2
3Signed-off-by: Bian Naimeng <biannm@cn.fujitsu.com>
4
5diff -Nurp tevent-0.9.21.orig/lib/talloc/wscript tevent-0.9.21/lib/talloc/wscript
6--- tevent-0.9.21.orig/lib/talloc/wscript 2013-09-08 21:24:14.000000000 +0900
7+++ tevent-0.9.21/lib/talloc/wscript 2015-04-24 16:28:04.085000230 +0900
8@@ -55,7 +55,7 @@ def configure(conf):
9 if conf.env.standalone_talloc:
10 conf.env.TALLOC_COMPAT1 = Options.options.TALLOC_COMPAT1
11
12- conf.CHECK_XSLTPROC_MANPAGES()
13+ conf.find_program('xsltproc', var='XSLTPROC')
14
15 if not conf.env.disable_python:
16 # also disable if we don't have the python libs installed
diff --git a/meta-oe/recipes-support/libtevent/libtevent_0.9.21.bb b/meta-oe/recipes-support/libtevent/libtevent_0.9.21.bb
new file mode 100644
index 0000000000..5c7c5608da
--- /dev/null
+++ b/meta-oe/recipes-support/libtevent/libtevent_0.9.21.bb
@@ -0,0 +1,30 @@
1SUMMARY = "Hierarchical, reference counted memory pool system with destructors"
2HOMEPAGE = "http://tevent.samba.org"
3SECTION = "libs"
4LICENSE = "LGPLv3+"
5
6DEPENDS += "talloc"
7RDEPENDS_${PN} += "libtalloc"
8RDEPENDS_python-tevent = "python"
9
10SRC_URI = "http://samba.org/ftp/tevent/tevent-${PV}.tar.gz"
11LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/LGPL-3.0;md5=bfccfe952269fff2b407dd11f2f3083b"
12
13SRC_URI[md5sum] = "3d5a76c0a1b5f724842d785fd055633f"
14SRC_URI[sha256sum] = "f2be7463573dab2d8210cb57fe7e7e2aeb323274cbdc865a6e29ddcfb977f0f4"
15
16inherit waf-samba
17
18S = "${WORKDIR}/tevent-${PV}"
19
20EXTRA_OECONF += "--disable-rpath \
21 --bundled-libraries=NONE \
22 --builtin-libraries=replace \
23 --with-libiconv=${STAGING_DIR_HOST}${prefix}\
24 --without-gettext \
25 "
26
27PACKAGES += "python-tevent python-tevent-dbg"
28
29FILES_python-tevent = "${libdir}/python${PYTHON_BASEVERSION}/site-packages/*"
30FILES_python-tevent-dbg = "${libdir}/python${PYTHON_BASEVERSION}/site-packages/.debug"