mirror of
https://git.yoctoproject.org/poky
synced 2026-05-01 06:32:11 +02:00
libxcrypt: restructure the recipes to allow auto-upgrading with devtool
(From OE-Core rev: f1bb43d0b9537ca63b88edfc3f5481dddf1f2a56) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
4aac76b458
commit
876ee33e78
@@ -2,7 +2,7 @@
|
||||
# This provides libcrypto.so.1 which contains obsolete APIs, needed for uninative in particular
|
||||
#
|
||||
|
||||
require libxcrypt_${PV}.bb
|
||||
require libxcrypt.inc
|
||||
|
||||
PROVIDES = ""
|
||||
AUTO_LIBNAME_PKGS = ""
|
||||
|
||||
33
meta/recipes-core/libxcrypt/libxcrypt.inc
Normal file
33
meta/recipes-core/libxcrypt/libxcrypt.inc
Normal file
@@ -0,0 +1,33 @@
|
||||
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"
|
||||
LIC_FILES_CHKSUM ?= "file://LICENSING;md5=3bb6614cf5880cbf1b9dbd9e3d145e2c \
|
||||
file://COPYING.LIB;md5=4fbd65380cdd255951079008b364516c \
|
||||
"
|
||||
|
||||
inherit autotools pkgconfig
|
||||
|
||||
SRC_URI = "git://github.com/besser82/libxcrypt.git;branch=${SRCBRANCH}"
|
||||
SRCREV = "acd84997a5a8b2badd28b70a642abee11272fad2"
|
||||
SRCBRANCH ?= "develop"
|
||||
|
||||
PROVIDES = "virtual/crypt"
|
||||
|
||||
FILES_${PN} = "${libdir}/libcrypt*.so.* \
|
||||
${libdir}/libcrypt-*.so \
|
||||
${libdir}/libowcrypt*.so.* \
|
||||
${libdir}/libowcrypt-*.so \
|
||||
"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
BUILD_CPPFLAGS = "-I${STAGING_INCDIR_NATIVE}"
|
||||
TARGET_CPPFLAGS = "-I${STAGING_DIR_TARGET}${includedir} -Wno-error"
|
||||
CPPFLAGS_append_class-nativesdk = " -Wno-error"
|
||||
|
||||
API = "--disable-obsolete-api"
|
||||
EXTRA_OECONF += "${API}"
|
||||
|
||||
BBCLASSEXTEND = "nativesdk"
|
||||
@@ -1,33 +1 @@
|
||||
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"
|
||||
LIC_FILES_CHKSUM ?= "file://LICENSING;md5=3bb6614cf5880cbf1b9dbd9e3d145e2c \
|
||||
file://COPYING.LIB;md5=4fbd65380cdd255951079008b364516c \
|
||||
"
|
||||
|
||||
inherit autotools pkgconfig
|
||||
|
||||
SRC_URI = "git://github.com/besser82/libxcrypt.git;branch=${SRCBRANCH}"
|
||||
SRCREV = "acd84997a5a8b2badd28b70a642abee11272fad2"
|
||||
SRCBRANCH ?= "develop"
|
||||
|
||||
PROVIDES = "virtual/crypt"
|
||||
|
||||
FILES_${PN} = "${libdir}/libcrypt*.so.* \
|
||||
${libdir}/libcrypt-*.so \
|
||||
${libdir}/libowcrypt*.so.* \
|
||||
${libdir}/libowcrypt-*.so \
|
||||
"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
BUILD_CPPFLAGS = "-I${STAGING_INCDIR_NATIVE}"
|
||||
TARGET_CPPFLAGS = "-I${STAGING_DIR_TARGET}${includedir} -Wno-error"
|
||||
CPPFLAGS_append_class-nativesdk = " -Wno-error"
|
||||
|
||||
API = "--disable-obsolete-api"
|
||||
EXTRA_OECONF += "${API}"
|
||||
|
||||
BBCLASSEXTEND = "nativesdk"
|
||||
require libxcrypt.inc
|
||||
|
||||
Reference in New Issue
Block a user