7b0e757fb8
The recommended form is without the trailing slash, and will become mandatory in a coming commit. This avoids the need for the $$($(2)_SITE:/=) magic in package/pkg-generic.mk to avoid double slashes in download URLs, like "https://mosh.mit.edu//mosh-1.2.5.tar.gz". ^^ Note: this work has already been done inb0b9606530
a few months ago and earlier inc7f4b96471
and4a9eb20de8
, but no check has been added at that time to avoid new slashes to slip in, and so they did. This time a patch will follow immediately to prevent future mistakes from being unnoticed. Mass-replaced with the following command: git grep -l '_SITE.*/$' | xargs sed -i '/_SITE.*=/s|/$||' Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
29 lines
1.0 KiB
Makefile
29 lines
1.0 KiB
Makefile
################################################################################
|
|
#
|
|
# libpam-radius-auth
|
|
#
|
|
################################################################################
|
|
|
|
LIBPAM_RADIUS_AUTH_VERSION = 1.4.0
|
|
LIBPAM_RADIUS_AUTH_SITE = ftp://ftp.freeradius.org/pub/radius
|
|
LIBPAM_RADIUS_AUTH_SOURCE = pam_radius-$(LIBPAM_RADIUS_AUTH_VERSION).tar.gz
|
|
LIBPAM_RADIUS_AUTH_DEPENDENCIES = linux-pam
|
|
LIBPAM_RADIUS_AUTH_INSTALL_STAGING = YES
|
|
LIBPAM_RADIUS_AUTH_LICENSE = GPLv2+
|
|
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))
|