2019-06-07 23:36:57 -04:00
|
|
|
SUMMARY = "PAM pwdfile library"
|
|
|
|
SECTION = "libs"
|
|
|
|
|
2022-05-28 11:20:07 -04:00
|
|
|
LICENSE = "BSD-3-Clause"
|
|
|
|
LIC_FILES_CHKSUM = "file://pam_pwdfile.c;beginline=1;endline=39;md5=02765d16df913d327ffd4a2ef499baf4"
|
2019-06-07 23:36:57 -04:00
|
|
|
|
2022-05-28 11:20:07 -04:00
|
|
|
SRC_URI = "git://github.com/tiwe-de/libpam-pwdfile.git;protocol=https;branch=master"
|
2020-10-30 14:55:28 -04:00
|
|
|
SRCREV = "8f0e412b48178c00abd023917dd2c9050ee89c18"
|
2019-06-07 23:36:57 -04:00
|
|
|
|
2020-10-30 14:55:28 -04:00
|
|
|
S = "${WORKDIR}/git"
|
2019-06-07 23:36:57 -04:00
|
|
|
|
|
|
|
DEPENDS = "libpam libxcrypt"
|
|
|
|
inherit lib_package pkgconfig
|
|
|
|
|
2022-05-28 11:20:07 -04:00
|
|
|
FILES:${PN} += "${libdir}/security/pam_pwdfile.so"
|
2019-06-07 23:36:57 -04:00
|
|
|
|
|
|
|
do_compile_class() {
|
|
|
|
oe_runmake CC_FOR_BUILD="${BUILD_CC}" PAM_LIB_DIR=${libdir}/security
|
|
|
|
}
|
|
|
|
|
|
|
|
do_install() {
|
|
|
|
oe_runmake install DESTDIR=${D} PAM_LIB_DIR=${libdir}/security
|
|
|
|
}
|