package/dhcp/S80dhcp-server: allow empty INTERFACES
[buildroot-gz.git] / package / libpam-radius-auth / libpam-radius-auth.mk
blob5ed5953c5b3a96d62f030c80b1469925631ebfdb
1 ################################################################################
3 # libpam-radius-auth
5 ################################################################################
7 LIBPAM_RADIUS_AUTH_VERSION = 1.4.0
8 LIBPAM_RADIUS_AUTH_SITE = ftp://ftp.freeradius.org/pub/radius
9 LIBPAM_RADIUS_AUTH_SOURCE = pam_radius-$(LIBPAM_RADIUS_AUTH_VERSION).tar.gz
10 LIBPAM_RADIUS_AUTH_DEPENDENCIES = linux-pam
11 LIBPAM_RADIUS_AUTH_INSTALL_STAGING = YES
12 LIBPAM_RADIUS_AUTH_LICENSE = GPLv2+
13 LIBPAM_RADIUS_AUTH_LICENSE_FILES = LICENSE
14 # While autoconf is used for configuration, the Makefile is
15 # hand-written, so we need to pass CC, LD, CFLAGS at build time.
16 LIBPAM_RADIUS_AUTH_MAKE_ENV = $(TARGET_CONFIGURE_OPTS)
18 define LIBPAM_RADIUS_AUTH_INSTALL_STAGING_CMDS
19 mkdir -p $(STAGING_DIR)/lib/security/
20 cp -dpfr $(@D)/pam_radius_auth.so* $(STAGING_DIR)/lib/security/
21 endef
23 define LIBPAM_RADIUS_AUTH_INSTALL_TARGET_CMDS
24 mkdir -p $(TARGET_DIR)/lib/security/
25 cp -dpfr $(@D)/pam_radius_auth.so* $(TARGET_DIR)/lib/security/
26 endef
28 $(eval $(autotools-package))