summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support/attr/acl.inc
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-support/attr/acl.inc')
-rw-r--r--meta/recipes-support/attr/acl.inc42
1 files changed, 0 insertions, 42 deletions
diff --git a/meta/recipes-support/attr/acl.inc b/meta/recipes-support/attr/acl.inc
deleted file mode 100644
index 37a0218cbb..0000000000
--- a/meta/recipes-support/attr/acl.inc
+++ /dev/null
@@ -1,42 +0,0 @@
1SUMMARY = "Utilities for managing POSIX Access Control Lists"
2HOMEPAGE = "http://savannah.nongnu.org/projects/acl/"
3SECTION = "libs"
4
5LICENSE = "LGPLv2.1+ & GPLv2+"
6LICENSE_${PN} = "GPLv2+"
7LICENSE_lib${BPN} = "LGPLv2.1+"
8LIC_FILES_CHKSUM = "file://doc/COPYING;md5=c781d70ed2b4d48995b790403217a249 \
9 file://doc/COPYING.LGPL;md5=9e9a206917f8af112da634ce3ab41764"
10
11DEPENDS = "attr"
12SRC_URI = "${SAVANNAH_GNU_MIRROR}/acl/${BP}.src.tar.gz \
13 file://run-ptest \
14 file://acl-fix-the-order-of-expected-output-of-getfacl.patch \
15 file://test-fix-insufficient-quoting-of.patch \
16 file://test-fixups-on-SELinux-machines-for-root-testcases.patch \
17 file://test-fix-directory-permissions.patch \
18"
19
20require ea-acl.inc
21
22# avoid RPATH hardcode to staging dir
23do_configure_append() {
24 sed -i ${S}/config.status -e s,^\\\(hardcode_into_libs=\\\).*$,\\1\'no\',
25 ${S}/config.status
26}
27
28# libdir should point to .la
29do_install_append() {
30 sed -i ${D}${libdir}/libacl.la -e \
31 s,^libdir=\'${base_libdir}\'$,libdir=\'${libdir}\',
32}
33
34inherit ptest
35
36do_install_ptest() {
37 tar -c --exclude=nfs test/ | ( cd ${D}${PTEST_PATH} && tar -xf - )
38 mkdir ${D}${PTEST_PATH}/include
39 cp ${S}/include/builddefs ${S}/include/buildmacros ${S}/include/buildrules ${D}${PTEST_PATH}/include/
40}
41
42RDEPENDS_${PN}-ptest = "acl bash coreutils perl perl-module-filehandle perl-module-getopt-std perl-module-posix shadow"