summaryrefslogtreecommitdiff
path: root/recipes-support/pam-script/pam-script_1.1.9.bb
blob: 5b38cb6e91646b935cdf7a61342aa6e0cec4918d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
SUMMARY = "Library for hooking into pam authentication"
HOMEPAGE = "https://github.com/jeroennijhof/pam_script"
LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://COPYING;md5=75859989545e37968a99b631ef42722e"

inherit autotools-brokensep pkgconfig
RDEPENDS_${PN} = "libpam-runtime perl"

SRC_URI = "git://github.com/jeroennijhof/pam_script.git;protocol=https"
SRCREV = "${PV}"	  
S = "${WORKDIR}/git"
PR="r2"

EXTRA_OECONF = " \
    --sysconfdir=${sysconfdir}/pam-script \
    --libdir=${base_libdir}/security \
"



FILES_${PN} += "${base_libdir}"
FILES_${PN}-doc += "${datadir_native}/man"

do_install_append() {
    oe_runmake DESTDIR=${D} install-data-hook install-exec-hook install-examples install-logger install-tally
    install -m 0644 ${S}/etc/README.pam_script ${D}/${sysconfdir}/pam-script
}