bbcbed1829
From now on, packages only need to select the BR2_PACKAGE_GETTEXT option and depend on the 'gettext' package to get the necessary i18n libraries installed on the target. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Tested-by: "Yann E. MORIN" <yann.morin.1998@free.fr> [yann.morin.1998@free.fr: remove BR2_PACKAGE_LIBINTL] Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Tested-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> CC: Samuel Martin <s.martin49@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
28 lines
709 B
Makefile
28 lines
709 B
Makefile
############################################
|
|
#
|
|
# 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) 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))
|