diff options
Diffstat (limited to 'meta/recipes-support/attr/attr.inc')
-rw-r--r-- | meta/recipes-support/attr/attr.inc | 72 |
1 files changed, 0 insertions, 72 deletions
diff --git a/meta/recipes-support/attr/attr.inc b/meta/recipes-support/attr/attr.inc deleted file mode 100644 index 75d616893a..0000000000 --- a/meta/recipes-support/attr/attr.inc +++ /dev/null | |||
@@ -1,72 +0,0 @@ | |||
1 | SUMMARY = "Utilities for manipulating filesystem extended attributes" | ||
2 | DESCRIPTION = "Implement the ability for a user to attach name:value pairs to objects within the XFS filesystem." | ||
3 | |||
4 | HOMEPAGE = "http://savannah.nongnu.org/projects/attr/" | ||
5 | SECTION = "libs" | ||
6 | |||
7 | DEPENDS = "virtual/libintl" | ||
8 | |||
9 | LICENSE = "LGPL-2.1-or-later & GPL-2.0-or-later" | ||
10 | LICENSE:${PN} = "GPL-2.0-or-later" | ||
11 | LICENSE:lib${BPN} = "LGPL-2.1-or-later" | ||
12 | LIC_FILES_CHKSUM = "file://doc/COPYING;md5=2d0aa14b3fce4694e4f615e30186335f \ | ||
13 | file://doc/COPYING.LGPL;md5=b8d31f339300bc239d73461d68e77b9c \ | ||
14 | file://tools/attr.c;endline=17;md5=be0403261f0847e5f43ed5b08d19593c \ | ||
15 | file://libattr/libattr.c;endline=17;md5=7970f77049f8fa1199fff62a7ab724fb" | ||
16 | |||
17 | SRC_URI = "${SAVANNAH_GNU_MIRROR}/attr/${BP}.tar.gz \ | ||
18 | file://run-ptest \ | ||
19 | file://0001-attr.c-Include-libgen.h-for-posix-version-of-basenam.patch \ | ||
20 | " | ||
21 | |||
22 | inherit ptest update-alternatives autotools gettext | ||
23 | |||
24 | PACKAGES =+ "lib${BPN}" | ||
25 | |||
26 | FILES:lib${BPN} = "${libdir}/lib*${SOLIBS} ${sysconfdir}" | ||
27 | |||
28 | ALTERNATIVE_PRIORITY = "100" | ||
29 | ALTERNATIVE:${PN} = "setfattr" | ||
30 | ALTERNATIVE_TARGET[setfattr] = "${bindir}/setfattr" | ||
31 | |||
32 | PTEST_BUILD_HOST_FILES = "builddefs" | ||
33 | PTEST_BUILD_HOST_PATTERN = "^RPM" | ||
34 | |||
35 | do_install_ptest() { | ||
36 | cp ${B}/Makefile ${D}${PTEST_PATH} | ||
37 | sed -e 's,--sysroot=${STAGING_DIR_TARGET},,g' \ | ||
38 | -e 's|${DEBUG_PREFIX_MAP}||g' \ | ||
39 | -e 's:${HOSTTOOLS_DIR}/::g' \ | ||
40 | -e 's:${RECIPE_SYSROOT_NATIVE}::g' \ | ||
41 | -e 's:${BASE_WORKDIR}/${MULTIMACH_TARGET_SYS}::g' \ | ||
42 | -i ${D}${PTEST_PATH}/Makefile | ||
43 | |||
44 | sed -i "s|^srcdir =.*|srcdir = \.|g" ${D}${PTEST_PATH}/Makefile | ||
45 | sed -i "s|^abs_srcdir =.*|abs_srcdir = \.|g" ${D}${PTEST_PATH}/Makefile | ||
46 | sed -i "s|^abs_top_srcdir =.*|abs_top_srcdir = \.\.|g" ${D}${PTEST_PATH}/Makefile | ||
47 | sed -i "s|^Makefile:.*|Makefile:|g" ${D}${PTEST_PATH}/Makefile | ||
48 | cp -rf ${S}/build-aux/ ${D}${PTEST_PATH} | ||
49 | cp -rf ${S}/test/ ${D}${PTEST_PATH} | ||
50 | } | ||
51 | |||
52 | do_install_ptest:append:libc-musl() { | ||
53 | sed -i -e 's|f: Operation n|f: N|g' ${D}${PTEST_PATH}/test/attr.test | ||
54 | } | ||
55 | |||
56 | RDEPENDS:${PN}-ptest = "attr \ | ||
57 | bash \ | ||
58 | coreutils \ | ||
59 | perl-module-constant \ | ||
60 | perl-module-filehandle \ | ||
61 | perl-module-getopt-std \ | ||
62 | perl-module-posix \ | ||
63 | make \ | ||
64 | perl \ | ||
65 | gawk \ | ||
66 | perl-module-cwd \ | ||
67 | perl-module-file-basename \ | ||
68 | perl-module-file-path \ | ||
69 | perl-module-file-spec \ | ||
70 | " | ||
71 | |||
72 | BBCLASSEXTEND = "native nativesdk" | ||