aboutsummaryrefslogtreecommitdiff
path: root/package/linux-pam/linux-pam.mk
diff options
context:
space:
mode:
authorGravatar Dmitry <golubovsky@gmail.com>2012-08-10 22:50:26 -0400
committerGravatar Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2012-08-11 22:16:11 +0200
commit04be7f0f8ca100afaf06b264332bc2cd61fbb3d0 (patch)
treef83a44f990c174c72c99060be078996b1a43f452 /package/linux-pam/linux-pam.mk
parent80b43964d01d5c84f66497d6295d786ff925c7de (diff)
downloadbuildroot-04be7f0f8ca100afaf06b264332bc2cd61fbb3d0.tar.gz
buildroot-04be7f0f8ca100afaf06b264332bc2cd61fbb3d0.tar.bz2
Add package linux-pam
Signed-off-by: Dmitry <golubovsky@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/linux-pam/linux-pam.mk')
-rw-r--r--package/linux-pam/linux-pam.mk27
1 files changed, 27 insertions, 0 deletions
diff --git a/package/linux-pam/linux-pam.mk b/package/linux-pam/linux-pam.mk
new file mode 100644
index 0000000000..48cb073943
--- /dev/null
+++ b/package/linux-pam/linux-pam.mk
@@ -0,0 +1,27 @@
+############################################
+#
+# linux-pam
+#
+############################################
+
+LINUX_PAM_VERSION = 1.1.4
+LINUX_PAM_SOURCE = Linux-PAM-$(LINUX_PAM_VERSION).tar.bz2
+LINUX_PAM_SITE = http://linux-pam.org/library/
+LINUX_PAM_INSTALL_STAGING = YES
+LINUX_PAM_CONF_OPT = \
+ --disable-prelude \
+ --disable-isadir \
+ --disable-nis \
+ --disable-regenerate-docu \
+ --enable-securedir=/lib/security \
+ --libdir=/lib
+LINUX_PAM_DEPENDENCIES = $(if $(BR2_NEEDS_GETTEXT_IF_LOCALE),gettext libintl) flex
+LINUX_PAM_AUTORECONF = YES
+LINUX_PAM_LICENSE = BSD-3c
+LINUX_PAM_LICENSE_FILES = Copyright
+
+ifeq ($(BR2_PACKAGE_LIBINTL),y)
+ LINUX_PAM_MAKE_OPT += LIBS=-lintl
+endif
+
+$(eval $(autotools-package))