summaryrefslogtreecommitdiff
path: root/recipes-support
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-support')
-rw-r--r--recipes-support/pam-script/pam-script_1.1.9.bb14
1 files changed, 11 insertions, 3 deletions
diff --git a/recipes-support/pam-script/pam-script_1.1.9.bb b/recipes-support/pam-script/pam-script_1.1.9.bb
index 7935cd2..3b9347c 100644
--- a/recipes-support/pam-script/pam-script_1.1.9.bb
+++ b/recipes-support/pam-script/pam-script_1.1.9.bb
@@ -4,16 +4,24 @@ LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://COPYING;md5=75859989545e37968a99b631ef42722e"
inherit autotools-brokensep pkgconfig
-RDEPENDS_${PN} = "libpam-runtime"
+RDEPENDS_${PN} = "libpam-runtime perl"
SRC_URI = "git://github.com/jeroennijhof/pam_script.git;protocol=git"
SRCREV = "${PV}"
S = "${WORKDIR}/git"
+PR="r2"
EXTRA_OECONF = " \
- --sysconfdir=${sysconfdir}/pam-script.d \
+ --sysconfdir=${sysconfdir}/pam-script \
--libdir=${base_libdir}/security \
"
+
+
FILES_${PN} += "${base_libdir}"
-FILES_${PN}-doc += "${datadir_native}/man" \ No newline at end of file
+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
+}