blob: 104a2af4d2b64b5f34baf1f7da95396636ed8c99 [file] [log] [blame]
Andrew Geissler82c905d2020-04-13 13:39:40 -05001SUMMARY = "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 = "LGPLv2.1"
Andrew Geisslerc9f78652020-09-18 14:11:35 -05006LIC_FILES_CHKSUM = "file://LICENSING;md5=102923b6e1b02a85c5a1203fa87d151d \
7 file://COPYING.LIB;md5=4fbd65380cdd255951079008b364516c \
8 "
Andrew Geissler82c905d2020-04-13 13:39:40 -05009
10inherit autotools pkgconfig
11
12SRC_URI = "git://github.com/besser82/libxcrypt.git;branch=${SRCBRANCH}"
Andrew Geisslerc9f78652020-09-18 14:11:35 -050013SRCREV = "6b110bcd4f4caa61fc39c7339d30adc20a7dd177"
Andrew Geissler82c905d2020-04-13 13:39:40 -050014SRCBRANCH ?= "develop"
15
16PROVIDES = "virtual/crypt"
17
18FILES_${PN} = "${libdir}/libcrypt*.so.* \
19 ${libdir}/libcrypt-*.so \
20 ${libdir}/libowcrypt*.so.* \
21 ${libdir}/libowcrypt-*.so \
22"
23
24S = "${WORKDIR}/git"
25
26BUILD_CPPFLAGS = "-I${STAGING_INCDIR_NATIVE}"
27TARGET_CPPFLAGS = "-I${STAGING_DIR_TARGET}${includedir} -Wno-error"
28CPPFLAGS_append_class-nativesdk = " -Wno-error"
29
Andrew Geissler82c905d2020-04-13 13:39:40 -050030API = "--disable-obsolete-api"
31EXTRA_OECONF += "${API}"
32
33BBCLASSEXTEND = "native nativesdk"