blob: a09c31c0d131d2da55533a274fc81bcbf9871863 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
# this build system is mostly shared by attr and acl
SRC_URI += "file://relative-libdir.patch;striplevel=0 \
file://no-fixed-prog-path.patch"
inherit autotools gettext
# the package comes with a custom config.h.in, it cannot be
# overwritten by autoheader
export AUTOHEADER = "true"
EXTRA_OECONF = "INSTALL_USER=root INSTALL_GROUP=root"
EXTRA_OEMAKE = "PKG_LIB_DIR=${base_libdir} PKG_DEVLIB_DIR=${libdir}"
do_install () {
oe_runmake install install-lib install-dev DIST_ROOT="${D}"
}
PACKAGES =+ "lib${PN} lib${PN}-dev lib${PN}-doc"
FILES_lib${PN} = "${base_libdir}/lib*.so.*"
FILES_lib${PN}-dev = "${includedir} \
${libdir}/lib*.so \
${libdir}/lib*.a \
${libdir}/lib*.la \
${base_libdir}/lib*.so \
${base_libdir}/lib*.a \
${base_libdir}/lib*.la"
FILES_lib${PN}-doc = "${mandir}/man2 \
${mandir}/man3"
BBCLASSEXTEND = "native"
|