summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support/attr/ea-acl.inc
diff options
context:
space:
mode:
authorAlexander Kanavin <alex.kanavin@gmail.com>2020-01-14 14:59:53 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-01-16 22:33:09 +0000
commit3e9b54ed27b9852d195d8f8192af76948c390836 (patch)
tree9e47e843d9d652b6ff3bcb3078cd2d043740430f /meta/recipes-support/attr/ea-acl.inc
parent0e70fac8fe9dab4381e921f110bac301c10a470c (diff)
downloadpoky-3e9b54ed27b9852d195d8f8192af76948c390836.tar.gz
acl/attr: update to latest upstream releases
The latest release use standard autotools, so drop all the build system related hacks and patches. Ptests have been rewritten, with 100% pass rate for both. (From OE-Core rev: 0417eef364bad6d061b6a02bff27d766f4c1ce96) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-support/attr/ea-acl.inc')
-rw-r--r--meta/recipes-support/attr/ea-acl.inc52
1 files changed, 0 insertions, 52 deletions
diff --git a/meta/recipes-support/attr/ea-acl.inc b/meta/recipes-support/attr/ea-acl.inc
deleted file mode 100644
index 9336ffc938..0000000000
--- a/meta/recipes-support/attr/ea-acl.inc
+++ /dev/null
@@ -1,52 +0,0 @@
1# this build system is mostly shared by attr and acl
2
3SRC_URI += "file://relative-libdir.patch;striplevel=0 \
4 "
5# This patch should be applied after '(attr\|acl)-Missing-configure.ac.patch'
6SRC_URI_append = " file://0001-Added-configure-option-to-enable-disable-static-libr.patch"
7
8inherit autotools-brokensep gettext
9
10# When upstream is using automake properly, this can be removed
11CLEANBROKEN = "1"
12
13# the package comes with a custom config.h.in, it cannot be
14# overwritten by autoheader
15EXTRA_AUTORECONF += "--exclude=autoheader"
16EXTRA_OECONF = "INSTALL_USER=root INSTALL_GROUP=root"
17EXTRA_OECONF_append_class-native = " --enable-gettext=no"
18EXTRA_OECONF_append_class-target = "${@['', ' --disable-gettext '][(d.getVar('USE_NLS') == 'no')]}"
19
20EXTRA_OEMAKE = "PKG_LIB_DIR=${base_libdir} PKG_DEVLIB_DIR=${libdir}"
21
22do_install () {
23 oe_runmake install install-lib install-dev DIST_ROOT="${D}" ZIP="gzip -n"
24}
25
26do_install_append_class-native () {
27 if test "${libdir}" = "${base_libdir}" ; then
28 return
29 fi
30 librelpath=${@os.path.relpath(d.getVar('libdir'), d.getVar('base_libdir'))}
31 baselibrelpath=${@os.path.relpath(d.getVar('base_libdir'), d.getVar('libdir'))}
32
33 # Remove bad symlinks & create the correct symlinks
34 if test -L ${D}${libdir}/lib${BPN}.so ; then
35 rm -rf ${D}${libdir}/lib${BPN}.so
36 ln -sf $baselibrelpath/lib${BPN}.so ${D}${libdir}/lib${BPN}.so
37 fi
38 if test -L ${D}${base_libdir}/lib${BPN}.a ; then
39 rm -rf ${D}${base_libdir}/lib${BPN}.a
40 ln -sf $librelpath/lib${BPN}.a ${D}${base_libdir}/lib${BPN}.a
41 fi
42 if test -L ${D}${base_libdir}/lib${BPN}.la ; then
43 rm -rf ${D}${base_libdir}/lib${BPN}.la
44 ln -sf $librelpath/lib${BPN}.la ${D}${base_libdir}/lib${BPN}.la
45 fi
46}
47
48PACKAGES =+ "lib${BPN}"
49
50FILES_lib${BPN} = "${base_libdir}/lib*${SOLIBS}"
51
52BBCLASSEXTEND = "native"