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.inc14
1 files changed, 13 insertions, 1 deletions
diff --git a/meta/recipes-support/attr/acl.inc b/meta/recipes-support/attr/acl.inc
index a46123286e..04967a6027 100644
--- a/meta/recipes-support/attr/acl.inc
+++ b/meta/recipes-support/attr/acl.inc
@@ -9,7 +9,9 @@ LIC_FILES_CHKSUM = "file://doc/COPYING;md5=c781d70ed2b4d48995b790403217a249 \
9 file://doc/COPYING.LGPL;md5=9e9a206917f8af112da634ce3ab41764" 9 file://doc/COPYING.LGPL;md5=9e9a206917f8af112da634ce3ab41764"
10 10
11DEPENDS = "attr" 11DEPENDS = "attr"
12SRC_URI = "http://download.savannah.gnu.org/releases/acl/${BP}.src.tar.gz" 12SRC_URI = "http://download.savannah.gnu.org/releases/acl/${BP}.src.tar.gz \
13 file://run-ptest \
14"
13 15
14require ea-acl.inc 16require ea-acl.inc
15 17
@@ -24,3 +26,13 @@ do_install_append() {
24 sed -i ${D}${libdir}/libacl.la -e \ 26 sed -i ${D}${libdir}/libacl.la -e \
25 s,^libdir=\'${base_libdir}\'$,libdir=\'${libdir}\', 27 s,^libdir=\'${base_libdir}\'$,libdir=\'${libdir}\',
26} 28}
29
30inherit ptest
31
32do_install_ptest() {
33 tar -cf - test/ --exclude nfs | ( cd ${D}${PTEST_PATH} && tar -xf - )
34 mkdir ${D}${PTEST_PATH}/include
35 cp ${S}/include/builddefs ${S}/include/buildmacros ${S}/include/buildrules ${D}${PTEST_PATH}/include/
36}
37
38RDEPENDS_${PN}-ptest = "bash coreutils perl perl-module-filehandle perl-module-getopt-std perl-module-posix shadow"