mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-01-01 13:58:06 +00:00
zeromq: upgrade to 4.1.3
4.1.3 has the dependence on libsodium, 4.1.3 asks pkgconfig bbclass to configure, add a target to build ptest, since the orignial check will build and run which is not suitable for cross-compile, and change the ptest installation directories Signed-off-by: Roy Li <rongqing.li@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This commit is contained in:
parent
5c6046a5d1
commit
b0b6ae9cc5
|
|
@ -2,12 +2,13 @@ DESCRIPTION = "ZeroMQ looks like an embeddable networking library but acts like
|
|||
HOMEPAGE = "http://www.zeromq.org"
|
||||
LICENSE = "LGPLv3+"
|
||||
LIC_FILES_CHKSUM = "file://COPYING.LESSER;md5=d5311495d952062e0e4fbba39cbf3de1"
|
||||
DEPENDS = "libsodium"
|
||||
|
||||
SRC_URI = "http://download.zeromq.org/zeromq-${PV}.tar.gz \
|
||||
file://run-ptest \
|
||||
"
|
||||
SRC_URI[md5sum] = "f3c3defbb5ef6cc000ca65e529fdab3b"
|
||||
SRC_URI[sha256sum] = "1ef71d46e94f33e27dd5a1661ed626cd39be4d2d6967792a275040e34457d399"
|
||||
SRC_URI[md5sum] = "d0824317348cfb44b8692e19cc73dc3a"
|
||||
SRC_URI[sha256sum] = "61b31c830db377777e417235a24d3660a4bcc3f40d303ee58df082fcd68bf411"
|
||||
|
||||
S = "${WORKDIR}/zeromq-${PV}"
|
||||
|
||||
|
|
@ -16,9 +17,14 @@ S = "${WORKDIR}/zeromq-${PV}"
|
|||
#CFLAGS_append += "-O0"
|
||||
#CXXFLAGS_append += "-O0"
|
||||
|
||||
inherit autotools ptest
|
||||
inherit autotools ptest pkgconfig
|
||||
|
||||
do_compile_ptest () {
|
||||
echo 'buildtest-TESTS: $(check_PROGRAMS)' >> ${B}/Makefile
|
||||
oe_runmake buildtest-TESTS
|
||||
}
|
||||
|
||||
do_install_ptest () {
|
||||
install -d ${D}${PTEST_PATH}/tests
|
||||
install -m 0755 ${B}/tests/.libs/* ${D}${PTEST_PATH}/tests
|
||||
install -m 0755 ${B}/.libs/test_* ${D}${PTEST_PATH}/tests
|
||||
}
|
||||
Loading…
Reference in New Issue
Block a user