diff options
Diffstat (limited to 'meta/packages/attr/ea-acl.inc')
-rw-r--r-- | meta/packages/attr/ea-acl.inc | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/meta/packages/attr/ea-acl.inc b/meta/packages/attr/ea-acl.inc new file mode 100644 index 0000000000..77fa2b4fd6 --- /dev/null +++ b/meta/packages/attr/ea-acl.inc | |||
@@ -0,0 +1,35 @@ | |||
1 | # this build system is mostly shared by attr and acl | ||
2 | |||
3 | DEPENDS =+ "gettext" | ||
4 | |||
5 | SRC_URI += "file://relative-libdir.patch;striplevel=0" | ||
6 | |||
7 | inherit autotools | ||
8 | |||
9 | # the package comes with a custom config.h.in, it cannot be | ||
10 | # overwritten by autoheader | ||
11 | export AUTOHEADER = "true" | ||
12 | EXTRA_OECONF = "INSTALL_USER=root INSTALL_GROUP=root" | ||
13 | |||
14 | EXTRA_OEMAKE = "PKG_LIB_DIR=${base_libdir} PKG_DEVLIB_DIR=${libdir}" | ||
15 | |||
16 | do_install () { | ||
17 | oe_runmake install install-lib install-dev DIST_ROOT="${D}" | ||
18 | } | ||
19 | |||
20 | PACKAGES =+ "lib${PN} lib${PN}-dev lib${PN}-doc" | ||
21 | |||
22 | FILES_lib${PN} = "${base_libdir}/lib*.so.*" | ||
23 | |||
24 | FILES_lib${PN}-dev = "${includedir} \ | ||
25 | ${libdir}/lib*.so \ | ||
26 | ${libdir}/lib*.a \ | ||
27 | ${libdir}/lib*.la \ | ||
28 | ${base_libdir}/lib*.so \ | ||
29 | ${base_libdir}/lib*.a \ | ||
30 | ${base_libdir}/lib*.la" | ||
31 | |||
32 | FILES_lib${PN}-doc = "${mandir}/man2 \ | ||
33 | ${mandir}/man3" | ||
34 | |||
35 | BBCLASSEXTEND = "native" | ||