Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame^] | 1 | SUMMARY = "PAM searchless LDAP authentication module" |
| 2 | HOMEPAGE = "https://github.com/rmbreak/pam_ldapdb" |
| 3 | BUGTRACKER = "https://github.com/rmbreak/pam_ldapdb/issues" |
| 4 | SECTION = "libs" |
| 5 | LICENSE = "MIT" |
| 6 | LIC_FILES_CHKSUM = "file://LICENSE;md5=41ab94182d94be9bb35e2a8b933f1e7d" |
| 7 | |
| 8 | DEPENDS = "libpam openldap" |
| 9 | |
| 10 | inherit distro_features_check |
| 11 | REQUIRED_DISTRO_FEATURES = "pam" |
| 12 | |
| 13 | SRC_URI = "https://github.com/rmbreak/pam_ldapdb/archive/v${PV}.tar.gz;downloadfilename=${BP}.tar.gz" |
| 14 | SRC_URI[md5sum] = "2dd4f1370fcfe995ee0ad09611109b87" |
| 15 | SRC_URI[sha256sum] = "8ed92b36523556bb5d9bf3eb33a1035e46041d4be767c8d62136930c0ca0e45b" |
| 16 | |
| 17 | S = "${WORKDIR}/pam_ldapdb-${PV}" |
| 18 | |
| 19 | do_install () { |
| 20 | oe_runmake install DESTDIR=${D} PAMDIR=${base_libdir}/security |
| 21 | } |
| 22 | |
| 23 | FILES_${PN} += "${base_libdir}/security/pam_ldapdb.so" |