Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [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" |
| 6 | LIC_FILES_CHKSUM ?= "file://LICENSING;md5=d1cc18f512ded3bd6000f3729f31be08 \ |
| 7 | file://COPYING.LIB;md5=4fbd65380cdd255951079008b364516c \ |
| 8 | " |
| 9 | |
| 10 | inherit autotools |
| 11 | |
| 12 | SRCREV ?= "089479bb24acd168613757a6f12d63caa95416b4" |
| 13 | SRCBRANCH ?= "master" |
| 14 | |
| 15 | SRC_URI = "git://github.com/besser82/libxcrypt.git;branch=${SRCBRANCH} \ |
| 16 | " |
| 17 | |
| 18 | PROVIDES = "virtual/crypt" |
| 19 | |
| 20 | FILES_${PN} = "${libdir}/libcrypt*.so.* ${libdir}/libcrypt-*.so ${libdir}/libowcrypt*.so.* ${libdir}/libowcrypt-*.so" |
| 21 | |
| 22 | S = "${WORKDIR}/git" |
| 23 | |
| 24 | BUILD_CPPFLAGS = "-I${STAGING_INCDIR_NATIVE} -std=gnu99" |
| 25 | TARGET_CPPFLAGS = "-I${STAGING_DIR_TARGET}${includedir}" |
| 26 | |
| 27 | python () { |
| 28 | if not bb.data.inherits_class('nativesdk', d): |
| 29 | raise bb.parse.SkipRecipe("Recipe only applies in nativesdk case for now") |
| 30 | } |
| 31 | |
| 32 | BBCLASSEXTEND = "nativesdk" |