kumquat-buildroot/package/libpam-radius-auth/libpam-radius-auth.mk
Fabrice Fontaine 860b1b9587 package/libpam-radius-auth: bump to version 2.0.0
Switch site to get latest release

https://github.com/FreeRADIUS/pam_radius/blob/release_2_0_0/Changelog

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2022-10-30 11:54:03 +01:00

28 lines
1.0 KiB
Makefile

################################################################################
#
# libpam-radius-auth
#
################################################################################
LIBPAM_RADIUS_AUTH_VERSION = 2.0.0
LIBPAM_RADIUS_AUTH_SITE = $(call github,FreeRADIUS,pam_radius,release_$(subst .,_,$(LIBPAM_RADIUS_AUTH_VERSION)))
LIBPAM_RADIUS_AUTH_DEPENDENCIES = linux-pam
LIBPAM_RADIUS_AUTH_INSTALL_STAGING = YES
LIBPAM_RADIUS_AUTH_LICENSE = GPL-2.0+
LIBPAM_RADIUS_AUTH_LICENSE_FILES = LICENSE
# While autoconf is used for configuration, the Makefile is
# hand-written, so we need to pass CC, LD, CFLAGS at build time.
LIBPAM_RADIUS_AUTH_MAKE_ENV = $(TARGET_CONFIGURE_OPTS)
define LIBPAM_RADIUS_AUTH_INSTALL_STAGING_CMDS
mkdir -p $(STAGING_DIR)/lib/security/
cp -dpfr $(@D)/pam_radius_auth.so* $(STAGING_DIR)/lib/security/
endef
define LIBPAM_RADIUS_AUTH_INSTALL_TARGET_CMDS
mkdir -p $(TARGET_DIR)/lib/security/
cp -dpfr $(@D)/pam_radius_auth.so* $(TARGET_DIR)/lib/security/
endef
$(eval $(autotools-package))