1SUMMARY = "Extended cryptographic library (from glibc)"
2DESCRIPTION = "Forked code from glibc libary to extract only crypto part."
3HOMEPAGE = "https://github.com/besser82/libxcrypt"
4SECTION = "libs"
5LICENSE = "LGPL-2.1-only"
6LIC_FILES_CHKSUM = "file://LICENSING;md5=c0a30e2b1502c55a7f37e412cd6c6a4b \
7                    file://COPYING.LIB;md5=4fbd65380cdd255951079008b364516c \
8                    "
9
10inherit autotools pkgconfig
11
12SRC_URI = "git://github.com/besser82/libxcrypt.git;branch=${SRCBRANCH};protocol=https"
13SRCREV = "f531a36aa916a22ef2ce7d270ba381e264250cbf"
14SRCBRANCH ?= "master"
15
16SRC_URI += "file://fix_cflags_handling.patch"
17
18PROVIDES = "virtual/crypt"
19
20S = "${WORKDIR}/git"
21
22BUILD_CPPFLAGS = "-I${STAGING_INCDIR_NATIVE}"
23TARGET_CPPFLAGS = "-I${STAGING_DIR_TARGET}${includedir} -Wno-error"
24CPPFLAGS:append:class-nativesdk = " -Wno-error"
25
26API = "--disable-obsolete-api"
27EXTRA_OECONF += "${API}"
28
29BBCLASSEXTEND = "native nativesdk"
30