summaryrefslogtreecommitdiffstats
path: root/meta/packages/pam/pam_1.0.2.bb
blob: 2a91414d7ea84a6e64150291b25379c26685981b (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
28
29
HOMEPAGE = "http://www.kernel.org/pub/linux/libs/pam/"
PR = "r7"

SRC_URI = "http://www.kernel.org/pub/linux/libs/pam/library/Linux-PAM-1.0.2.tar.bz2 \
           file://disable_crossbinary.patch;patch=1 "

EXTRA_OECONF = "--with-db-uniquename=_pam \
                 --includedir=${includedir}/security \
		 --libdir=/lib"
DEPENDS = "bison flex"
CFLAGS_append = " -fPIC "

S = "${WORKDIR}/Linux-PAM-${PV}"

inherit autotools pkgconfig


do_stage() {
        autotools_stage_all
}

FILES_${PN}-dbg += "${base_libdir}/security/.debug"
FILES_${PN}-dbg += "${base_libdir}/security/pam_filter/.debug"
FILES_${PN} += "${base_libdir}/security/*.so"
FILES_${PN} += "${base_libdir}/security/pam_filter/upperLOWER"
FILES_${PN} += "${base_libdir}/security/*.so"
FILES_${PN}-dev += "${base_libdir}/security/*.la"
FILES_${PN}-dev += "${base_libdir}/*.la"
FILES_${PN} += "${base_libdir}/*.so*"