mirror of
https://github.com/thead-yocto-mirror/meta-external-toolchain
synced 2026-09-18 13:12:16 +02:00
Split out libxcrypt
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
This commit is contained in:
21
recipes-external/libxcrypt/libxcrypt-external.bb
Normal file
21
recipes-external/libxcrypt/libxcrypt-external.bb
Normal file
@@ -0,0 +1,21 @@
|
||||
SUMMARY = "Extended cryptographic library (from glibc)"
|
||||
DESCRIPTION = "Forked code from glibc libary to extract only crypto part."
|
||||
HOMEPAGE = "https://github.com/besser82/libxcrypt"
|
||||
SECTION = "libs"
|
||||
LICENSE = "LGPLv2.1"
|
||||
PROVIDES = "virtual/crypt"
|
||||
|
||||
inherit external-toolchain
|
||||
|
||||
EXTERNAL_PROVIDE_PATTERN = "${libdir}/libcrypt*.so.*"
|
||||
|
||||
libc_rdep = "${@'${PREFERRED_PROVIDER_virtual/libc}' if '${PREFERRED_PROVIDER_virtual/libc}' else '${TCLIBC}'}"
|
||||
RDEPENDS_${PN} += "${libc_rdep}"
|
||||
|
||||
FILES_${PN} = "${libdir}/libcrypt*.so.* \
|
||||
${libdir}/libcrypt-*.so \
|
||||
${libdir}/libowcrypt*.so.* \
|
||||
${libdir}/libowcrypt-*.so \
|
||||
"
|
||||
FILES_${PN}-dev = "${libdir}/libcrypt.so ${libdir}/libowcrypt.so"
|
||||
|
||||
Reference in New Issue
Block a user