Richard Marian Thomaiyar | 14fddef | 2018-07-13 23:55:56 +0530 | [diff] [blame] | 1 | SUMMARY = "Google Authenticator PAM module" |
| 2 | HOME_PAGE = "https://github.com/google/google-authenticator-libpam" |
| 3 | LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57" |
| 4 | LICENSE = "Apache-2.0" |
| 5 | |
| 6 | SRC_URI = "git://github.com/google/google-authenticator-libpam.git" |
Andrew Geissler | 1fe918a | 2020-05-15 14:16:47 -0500 | [diff] [blame] | 7 | SRCREV = "2c7415d950fb0b4a7f779f045910666447b100ef" |
Richard Marian Thomaiyar | 14fddef | 2018-07-13 23:55:56 +0530 | [diff] [blame] | 8 | |
| 9 | DEPENDS = "libpam" |
| 10 | |
| 11 | S = "${WORKDIR}/git" |
| 12 | |
Brad Bishop | 95dbbac | 2019-12-02 13:55:25 -0500 | [diff] [blame] | 13 | inherit autotools features_check |
Richard Marian Thomaiyar | 14fddef | 2018-07-13 23:55:56 +0530 | [diff] [blame] | 14 | |
| 15 | REQUIRED_DISTRO_FEATURES = "pam" |
| 16 | |
Andrew Geissler | 1fe918a | 2020-05-15 14:16:47 -0500 | [diff] [blame] | 17 | # Use the same dir location as PAM |
| 18 | EXTRA_OECONF = "--libdir=${base_libdir}" |
| 19 | |
Richard Marian Thomaiyar | 14fddef | 2018-07-13 23:55:56 +0530 | [diff] [blame] | 20 | PACKAGES += "pam-google-authenticator" |
Andrew Geissler | 1fe918a | 2020-05-15 14:16:47 -0500 | [diff] [blame] | 21 | FILES_pam-google-authenticator = "${base_libdir}/security/pam_google_authenticator.so" |
Richard Marian Thomaiyar | 14fddef | 2018-07-13 23:55:56 +0530 | [diff] [blame] | 22 | |
| 23 | RDEPNEDS_pam-google-authenticator = "libpam" |