Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame^] | 1 | SUMMARY = "Hierarchical, reference counted memory pool system with destructors" |
| 2 | HOMEPAGE = "http://talloc.samba.org" |
| 3 | SECTION = "libs" |
| 4 | LICENSE = "LGPL-3.0+ & GPL-3.0+" |
| 5 | LIC_FILES_CHKSUM = "file://talloc.h;beginline=3;endline=27;md5=a301712782cad6dd6d5228bfa7825249 \ |
| 6 | file://pytalloc.h;beginline=1;endline=18;md5=2c498cc6f2263672483237b20f46b43d" |
| 7 | |
| 8 | |
| 9 | SRC_URI = "https://samba.org/ftp/talloc/talloc-${PV}.tar.gz \ |
| 10 | file://options-2.1.14.patch \ |
| 11 | " |
| 12 | SRC_URI[md5sum] = "7478da02e309316231a497a9f17a980d" |
| 13 | SRC_URI[sha256sum] = "b185602756a628bac507fa8af8b9df92ace69d27c0add5dab93190ad7c3367ce" |
| 14 | |
| 15 | inherit waf-samba |
| 16 | |
| 17 | PACKAGECONFIG ??= "\ |
| 18 | ${@bb.utils.filter('DISTRO_FEATURES', 'acl', d)} \ |
| 19 | ${@bb.utils.contains('DISTRO_FEATURES', 'xattr', 'attr', '', d)} \ |
| 20 | " |
| 21 | PACKAGECONFIG[acl] = "--with-acl,--without-acl,acl" |
| 22 | PACKAGECONFIG[attr] = "--with-attr,--without-attr,attr" |
| 23 | PACKAGECONFIG[libaio] = "--with-libaio,--without-libaio,libaio" |
| 24 | PACKAGECONFIG[libbsd] = "--with-libbsd,--without-libbsd,libbsd" |
| 25 | PACKAGECONFIG[libcap] = "--with-libcap,--without-libcap,libcap" |
| 26 | PACKAGECONFIG[valgrind] = "--with-valgrind,--without-valgrind,valgrind" |
| 27 | |
| 28 | SRC_URI += "${@bb.utils.contains('PACKAGECONFIG', 'attr', '', 'file://avoid-attr-unless-wanted.patch', d)}" |
| 29 | |
| 30 | S = "${WORKDIR}/talloc-${PV}" |
| 31 | |
| 32 | EXTRA_OECONF += "--disable-rpath \ |
| 33 | --disable-rpath-install \ |
| 34 | --bundled-libraries=NONE \ |
| 35 | --builtin-libraries=replace \ |
| 36 | --disable-silent-rules \ |
| 37 | --with-libiconv=${STAGING_DIR_HOST}${prefix}\ |
| 38 | " |
| 39 | |
| 40 | PACKAGES += "pytalloc pytalloc-dev" |
| 41 | |
| 42 | RPROVIDES_${PN}-dbg += "pytalloc-dbg" |
| 43 | |
| 44 | FILES_pytalloc = "${libdir}/python${PYTHON_BASEVERSION}/site-packages/* \ |
| 45 | ${libdir}/libpytalloc-util.so.2 \ |
| 46 | ${libdir}/libpytalloc-util.so.2.1.1 \ |
| 47 | " |
| 48 | FILES_pytalloc-dev = "${libdir}/libpytalloc-util.so" |
| 49 | RDEPENDS_pytalloc = "python" |