summaryrefslogtreecommitdiffstats
path: root/package/linux-pam/linux-pam.mk
blob: f5388c17213f6697fbe94338638d3853542ec42f (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
############################################
#
# 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-db \
	--disable-regenerate-docu \
	--enable-securedir=/lib/security \
	--libdir=/lib
LINUX_PAM_DEPENDENCIES = $(if $(BR2_NEEDS_GETTEXT_IF_LOCALE),gettext) \
	flex host-flex
LINUX_PAM_AUTORECONF = YES
LINUX_PAM_LICENSE = BSD-3c
LINUX_PAM_LICENSE_FILES = Copyright

ifeq ($(BR2_NEEDS_GETTEXT_IF_LOCALE),y)
	LINUX_PAM_MAKE_OPT += LIBS=-lintl
endif

$(eval $(autotools-package))