From 1219bf8a90a7bf8cd3a5363551ef635d51e8fc8e Mon Sep 17 00:00:00 2001 From: Tudor Florea Date: Thu, 8 Oct 2015 22:51:41 +0200 Subject: initial commit for Enea Linux 5.0 arm Signed-off-by: Tudor Florea --- meta-oe/recipes-support/talloc/talloc_2.0.1.bb | 45 ++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 meta-oe/recipes-support/talloc/talloc_2.0.1.bb (limited to 'meta-oe/recipes-support/talloc/talloc_2.0.1.bb') diff --git a/meta-oe/recipes-support/talloc/talloc_2.0.1.bb b/meta-oe/recipes-support/talloc/talloc_2.0.1.bb new file mode 100644 index 0000000000..7bbfbc291c --- /dev/null +++ b/meta-oe/recipes-support/talloc/talloc_2.0.1.bb @@ -0,0 +1,45 @@ +SUMMARY = "Hierarchical, reference counted memory pool system with destructors" +HOMEPAGE = "http://talloc.samba.org" +LICENSE = "LGPL-3.0" +LIC_FILES_CHKSUM = "file://NEWS;md5=5fe776b23a711c9153ee94bc87e47334" + +inherit autotools pkgconfig + +SRC_URI = "http://samba.org/ftp/${BPN}/${BPN}-${PV}.tar.gz \ + file://install-swig-interface-in-SWINGLIBDIR.patch \ + file://sepbuild.patch \ +" +SRC_URI[md5sum] = "c6e736540145ca58cb3dcb42f91cf57b" +SRC_URI[sha256sum] = "5b810527405f29d54f50efd78bf2c89e318f2cd8bed001f22f2a1412fd27c9b4" + +TARGET_CC_ARCH += "${LDFLAGS}" + +PR = "r2" + +EXTRA_AUTORECONF = "--exclude=autopoint --exclude=aclocal" + +DEPENDS += "swig-native" + +do_install_prepend() { + # Hack the way swig interface for talloc is installed + # This hack is accompanied by install-swig-interface-in-SWINGLIBDIR.patch + if which swig > /dev/null; then + SWIGLIBDIR="$(echo $(readlink -f $(swig -swiglib)) | \ + sed -e 's#^${STAGING_DIR_NATIVE}##')" + fi + if [ -n "$SWIGLIBDIR" ]; then + export SWIGLIBDIR + else + echo "No swig found" + fi +} + +do_install_append() { + install -d ${D}${libdir} + ln -s libtalloc.so.2.0.1 ${D}${libdir}/libtalloc.so.2.0 + ln -s libtalloc.so.2.0 ${D}${libdir}/libtalloc.so.2 + ln -s libtalloc.so.2 ${D}${libdir}/libtalloc.so +} + +PACKAGES += "${PN}-swig" +FILES_${PN}-swig += "${datadir}" -- cgit v1.2.3-54-g00ecf