summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support/libevent
diff options
context:
space:
mode:
authorTudor Florea <tudor.florea@enea.com>2015-10-09 22:59:03 +0200
committerTudor Florea <tudor.florea@enea.com>2015-10-09 22:59:03 +0200
commit972dcfcdbfe75dcfeb777150c136576cf1a71e99 (patch)
tree97a61cd7e293d7ae9d56ef7ed0f81253365bb026 /meta/recipes-support/libevent
downloadpoky-972dcfcdbfe75dcfeb777150c136576cf1a71e99.tar.gz
initial commit for Enea Linux 5.0 arm
Signed-off-by: Tudor Florea <tudor.florea@enea.com>
Diffstat (limited to 'meta/recipes-support/libevent')
-rw-r--r--meta/recipes-support/libevent/libevent-2.0.21/disable_tests.patch15
-rw-r--r--meta/recipes-support/libevent/libevent-2.0.21/obsolete_automake_macros.patch15
-rw-r--r--meta/recipes-support/libevent/libevent_2.0.21.bb26
3 files changed, 56 insertions, 0 deletions
diff --git a/meta/recipes-support/libevent/libevent-2.0.21/disable_tests.patch b/meta/recipes-support/libevent/libevent-2.0.21/disable_tests.patch
new file mode 100644
index 0000000000..5d2c69036b
--- /dev/null
+++ b/meta/recipes-support/libevent/libevent-2.0.21/disable_tests.patch
@@ -0,0 +1,15 @@
1Upstream-Status: Inappropriate [disable feature]
2
3Signed-off-by: Marko Lindqvist <cazfi74@gmail.com>
4diff -Nurd libevent-2.0.21-stable/test/Makefile.am libevent-2.0.21-stable/test/Makefile.am
5--- libevent-2.0.21-stable/test/Makefile.am 2012-05-31 07:08:19.000000000 +0300
6+++ libevent-2.0.21-stable/test/Makefile.am 2013-02-08 02:06:20.227475872 +0200
7@@ -19,8 +19,6 @@
8 EXTRA_PROGRAMS = regress
9 noinst_HEADERS = tinytest.h tinytest_macros.h regress.h tinytest_local.h
10
11-TESTS = $(top_srcdir)/test/test.sh
12-
13 BUILT_SOURCES =
14 if BUILD_REGRESS
15 BUILT_SOURCES += regress.gen.c regress.gen.h
diff --git a/meta/recipes-support/libevent/libevent-2.0.21/obsolete_automake_macros.patch b/meta/recipes-support/libevent/libevent-2.0.21/obsolete_automake_macros.patch
new file mode 100644
index 0000000000..b55923220c
--- /dev/null
+++ b/meta/recipes-support/libevent/libevent-2.0.21/obsolete_automake_macros.patch
@@ -0,0 +1,15 @@
1Upstream-Status: Submitted [https://sourceforge.net/tracker/?func=detail&aid=3603774&group_id=50884&atid=461322]
2
3Signed-off-by: Marko Lindqvist <cazfi74@gmail.com>
4diff -Nurd libevent-2.0.21-stable/configure.in libevent-2.0.21-stable/configure.in
5--- libevent-2.0.21-stable/configure.in 2012-11-18 08:34:13.000000000 +0200
6+++ libevent-2.0.21-stable/configure.in 2013-02-08 02:03:58.403476183 +0200
7@@ -12,7 +12,7 @@
8 AC_CONFIG_MACRO_DIR([m4])
9
10 AM_INIT_AUTOMAKE(libevent,2.0.21-stable)
11-AM_CONFIG_HEADER(config.h)
12+AC_CONFIG_HEADERS(config.h)
13 AC_DEFINE(NUMERIC_VERSION, 0x02001500, [Numeric representation of the version])
14
15 dnl Initialize prefix.
diff --git a/meta/recipes-support/libevent/libevent_2.0.21.bb b/meta/recipes-support/libevent/libevent_2.0.21.bb
new file mode 100644
index 0000000000..5a1ff3b1b0
--- /dev/null
+++ b/meta/recipes-support/libevent/libevent_2.0.21.bb
@@ -0,0 +1,26 @@
1SUMMARY = "An asynchronous event notification library"
2HOMEPAGE = "http://libevent.org/"
3BUGTRACKER = "http://sourceforge.net/tracker/?group_id=50884&atid=461322"
4SECTION = "libs"
5
6LICENSE = "BSD"
7LIC_FILES_CHKSUM = "file://LICENSE;md5=45c5316ff684bcfe2f9f86d8b1279559"
8
9PR = "r1"
10
11SRC_URI = "http://github.com/downloads/libevent/libevent/${BPN}-${PV}-stable.tar.gz \
12 file://obsolete_automake_macros.patch \
13 file://disable_tests.patch \
14"
15
16SRC_URI[md5sum] = "b2405cc9ebf264aa47ff615d9de527a2"
17SRC_URI[sha256sum] = "22a530a8a5ba1cb9c080cba033206b17dacd21437762155c6d30ee6469f574f5"
18
19S = "${WORKDIR}/${BPN}-${PV}-stable"
20
21EXTRA_OECONF = "--disable-openssl"
22
23inherit autotools
24
25# Needed for Debian packaging
26LEAD_SONAME = "libevent-2.0.so"