diff options
author | OpenEmbedded Project <openembedded-devel@lists.openembedded.org> | 2008-09-05 14:02:40 +0000 |
---|---|---|
committer | OpenEmbedded Project <openembedded-devel@lists.openembedded.org> | 2008-09-05 14:02:40 +0000 |
commit | bdac33b55c60b405f0cd29fce157f80ecd05d300 (patch) | |
tree | 84b7fba0111ed38c7552de1c28d5ce206dad1237 /packages/pam/libpam_1.0.2.bb | |
parent | 0c9b33dd399e32843b4b8cd412eaf1bc990b63ec (diff) | |
parent | 3b79d21867a0a8ae992886bb498848a1ad6156ff (diff) |
merge of '7d2d2c64f0573cfcecdcba9a80bee0899c24b371'
and 'aad166147796a0cf7be319e6fa3878b8cffc981e'
Diffstat (limited to 'packages/pam/libpam_1.0.2.bb')
-rw-r--r-- | packages/pam/libpam_1.0.2.bb | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/packages/pam/libpam_1.0.2.bb b/packages/pam/libpam_1.0.2.bb new file mode 100644 index 0000000000..cf98944778 --- /dev/null +++ b/packages/pam/libpam_1.0.2.bb @@ -0,0 +1,40 @@ +DESCRIPTION = "\ +PAM authentication library for Linux. \ +Linux-PAM (Pluggable Authentication Modules for Linux) is a \ +library that enables the local system administrator to choose \ +how individual applications authenticate users. For an \ +overview of the Linux-PAM library see the Linux-PAM System \ +Administrators' Guide." +HOMEPAGE = "http://kernel.org/pub/linux/libs/pam" +SECTION = "libs" +PRIORITY = "optional" +LICENSE = "GPLv2" + +# The project is actually called Linux-PAM but that gives +# a bad OE package name because of the upper case characters +pn = "Linux-PAM" +p = "${pn}-${PV}" +S = "${WORKDIR}/${p}" + +SRC_URI = "${KERNELORG_MIRROR}/pub/linux/libs/pam/library/${p}.tar.bz2 \ + file://pam-nodocs.patch;patch=1 " + +inherit autotools + +LEAD_SONAME = "libpam.so.*" + +python populate_packages_prepend () { + pam_libdir = bb.data.expand('${libdir}/security', d) + pam_libdirdebug = bb.data.expand('${libdir}/security/.debug', d) + pam_filterdir = bb.data.expand('${libdir}/security/pam_filter', d) + do_split_packages(d, pam_libdir, '^pam(.*)\.so$', 'pam-plugin%s', 'PAM plugin for %s', extra_depends='') + do_split_packages(d, pam_libdir, '^pam(.*)\.la$', 'pam-plugin%s-dev', 'PAM plugin for %s dev', extra_depends='') + do_split_packages(d, pam_libdirdebug, '^pam(.*)\.so$', 'pam-plugin%s-dbg', 'PAM plugin for %s debugging symbols', extra_depends='') + do_split_packages(d, pam_filterdir, '^(.*)$', 'pam-filter-%s', 'PAM filter for %s', extra_depends='') +} + + +do_stage() { + autotools_stage_all +} + |