Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 1 | SUMMARY = "Extended cryptographic library (from glibc)" |
| 2 | DESCRIPTION = "Forked code from glibc libary to extract only crypto part." |
| 3 | HOMEPAGE = "https://github.com/besser82/libxcrypt" |
| 4 | SECTION = "libs" |
| 5 | LICENSE = "LGPLv2.1" |
Andrew Geissler | c9f7865 | 2020-09-18 14:11:35 -0500 | [diff] [blame] | 6 | LIC_FILES_CHKSUM = "file://LICENSING;md5=102923b6e1b02a85c5a1203fa87d151d \ |
| 7 | file://COPYING.LIB;md5=4fbd65380cdd255951079008b364516c \ |
| 8 | " |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 9 | |
| 10 | inherit autotools pkgconfig |
| 11 | |
| 12 | SRC_URI = "git://github.com/besser82/libxcrypt.git;branch=${SRCBRANCH}" |
Andrew Geissler | c9f7865 | 2020-09-18 14:11:35 -0500 | [diff] [blame] | 13 | SRCREV = "6b110bcd4f4caa61fc39c7339d30adc20a7dd177" |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 14 | SRCBRANCH ?= "develop" |
| 15 | |
| 16 | PROVIDES = "virtual/crypt" |
| 17 | |
| 18 | FILES_${PN} = "${libdir}/libcrypt*.so.* \ |
| 19 | ${libdir}/libcrypt-*.so \ |
| 20 | ${libdir}/libowcrypt*.so.* \ |
| 21 | ${libdir}/libowcrypt-*.so \ |
| 22 | " |
| 23 | |
| 24 | S = "${WORKDIR}/git" |
| 25 | |
| 26 | BUILD_CPPFLAGS = "-I${STAGING_INCDIR_NATIVE}" |
| 27 | TARGET_CPPFLAGS = "-I${STAGING_DIR_TARGET}${includedir} -Wno-error" |
| 28 | CPPFLAGS_append_class-nativesdk = " -Wno-error" |
| 29 | |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 30 | API = "--disable-obsolete-api" |
| 31 | EXTRA_OECONF += "${API}" |
| 32 | |
| 33 | BBCLASSEXTEND = "native nativesdk" |