mirror of
https://github.com/thead-yocto-mirror/meta-openembedded
synced 2026-09-18 21:21:58 +02:00
talloc: rename to libtalloc and cleanup dependency mess
To avoid errors when building dev-images (talloc-dev is missing), and to avoid insane empty packages for that, rename talloc -> libtalloc as libtevent shows. With that, remove dependencies to attr/xattr - unless explicitely enabled via PACKAGECONFIG. Signed-off-by: Jens Rehsack <sno@netbsd.org> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
This commit is contained in:
committed by
Joe MacDonald
parent
40d6a19aa3
commit
0db903b44c
40
meta-networking/recipes-support/libtalloc/libtalloc_2.1.1.bb
Normal file
40
meta-networking/recipes-support/libtalloc/libtalloc_2.1.1.bb
Normal file
@@ -0,0 +1,40 @@
|
||||
SUMMARY = "Hierarchical, reference counted memory pool system with destructors"
|
||||
HOMEPAGE = "http://talloc.samba.org"
|
||||
SECTION = "libs"
|
||||
LICENSE = "LGPL-3.0+ & GPL-3.0+"
|
||||
|
||||
DEPENDS += "libbsd"
|
||||
|
||||
SRC_URI = "http://samba.org/ftp/${BPN}/talloc-${PV}.tar.gz"
|
||||
LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/LGPL-3.0;md5=bfccfe952269fff2b407dd11f2f3083b \
|
||||
file://${COREBASE}/meta/files/common-licenses/GPL-3.0;md5=c79ff39f19dfec6d293b95dea7b07891"
|
||||
|
||||
SRC_URI[md5sum] = "5dffb86414218a91864ed4453ba9be07"
|
||||
SRC_URI[sha256sum] = "3e29ce6c3ba3c4f7c2d57ce8cf0fbc24c86618c519f2b2fb6a459025488b6174"
|
||||
|
||||
inherit waf-samba
|
||||
|
||||
PACKAGECONFIG[attr] = ",,attr"
|
||||
|
||||
SRC_URI += "${@bb.utils.contains('PACKAGECONFIG', 'attr', '', 'file://avoid-attr-unless-wanted.patch', d)}"
|
||||
|
||||
S = "${WORKDIR}/talloc-${PV}"
|
||||
|
||||
EXTRA_OECONF += "--disable-rpath \
|
||||
--disable-rpath-install \
|
||||
--bundled-libraries=NONE \
|
||||
--builtin-libraries=replace \
|
||||
--disable-silent-rules \
|
||||
--with-libiconv=${STAGING_DIR_HOST}${prefix}\
|
||||
"
|
||||
|
||||
PACKAGES += "pytalloc pytalloc-dbg pytalloc-dev"
|
||||
|
||||
FILES_pytalloc = "${libdir}/python${PYTHON_BASEVERSION}/site-packages/* \
|
||||
${libdir}/libpytalloc-util.so.2 \
|
||||
${libdir}/libpytalloc-util.so.2.1.1 \
|
||||
"
|
||||
FILES_pytalloc-dbg = "${libdir}/python${PYTHON_BASEVERSION}/site-packages/.debug \
|
||||
${libdir}/.debug/libpytalloc-util.so.2.1.1"
|
||||
FILES_pytalloc-dev = "${libdir}/libpytalloc-util.so"
|
||||
RDEPENDS_pytalloc = "python"
|
||||
Reference in New Issue
Block a user