Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [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.10.patch \ |
| 11 | " |
| 12 | SRC_URI[md5sum] = "452596f904ca2b10322bdaabf147a721" |
| 13 | SRC_URI[sha256sum] = "639eb35556a0af999123c4d883e79be05ff9f00ab4f9e4ac2e5775f9c5eeeed3" |
| 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-dbg pytalloc-dev" |
| 41 | |
| 42 | FILES_pytalloc = "${libdir}/python${PYTHON_BASEVERSION}/site-packages/* \ |
| 43 | ${libdir}/libpytalloc-util.so.2 \ |
| 44 | ${libdir}/libpytalloc-util.so.2.1.1 \ |
| 45 | " |
| 46 | FILES_pytalloc-dbg = "${libdir}/python${PYTHON_BASEVERSION}/site-packages/.debug \ |
| 47 | ${libdir}/.debug/libpytalloc-util.so.2.1.1" |
| 48 | FILES_pytalloc-dev = "${libdir}/libpytalloc-util.so" |
| 49 | RDEPENDS_pytalloc = "python" |