1 DESCRIPTION
= "Libcap is a library for getting and setting POSIX.1e (formerly POSIX 6) draft 15 capabilities."
5 DEPENDS
= "bison-native flex-native libattr"
8 BUILD_CFLAGS
+= "-I${S}/libcap/include"
9 CFLAGS
+= "-I${S}/libcap/include"
10 LDFLAGS
=+ "-L../libcap"
12 SRC_URI
= "${KERNELORG_MIRROR}/pub/linux/libs/security/linux-privs/libcap2/libcap-${PV}.tar.bz2 \
13 file://make.patch;patch=1 \
16 S
= "${WORKDIR}/libcap-${PV}"
18 FILES_$
{PN
} = "${libdir}"
19 FILES_$
{PN
}-dev
= "${includedir}"
22 install
-d $
{D
}$
{includedir
}/sys
23 install
-m
0644 libcap
/include/sys
/capability.h $
{D
}$
{includedir
}/sys
/
24 install
-d $
{D
}$
{libdir
}
25 oe_libinstall
-s
-C libcap libcap $
{D
}$
{libdir
}
29 install
-d $
{STAGING_INCDIR
}/sys
30 install
-m
0644 libcap
/include/sys
/capability.h $
{STAGING_INCDIR
}/sys
/
31 oe_libinstall
-s
-C libcap libcap $
{STAGING_LIBDIR
}
34 SRC_URI
[md5sum
] = "6e2c9d0f3c3118e41cd07288ba9577ce"
35 SRC_URI
[sha256sum
] = "9c5a41a5577d6f702fe4d29e92f91f1d586a2ef272f6b7fa137bae3f0e76cc2f"