792f92db2b
As we discussed on the mailing list, using $(<pkg>_NAME) when defining CPE ID variables feels a bit odd and needlessly complicated. Just use the package name directly. Cc: Peter Korsgaard <peter@korsgaard.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
26 lines
799 B
Makefile
26 lines
799 B
Makefile
################################################################################
|
|
#
|
|
# tftpd
|
|
#
|
|
################################################################################
|
|
|
|
TFTPD_VERSION = 5.2
|
|
TFTPD_SOURCE = tftp-hpa-$(TFTPD_VERSION).tar.xz
|
|
TFTPD_SITE = $(BR2_KERNEL_MIRROR)/software/network/tftp/tftp-hpa
|
|
TFTPD_CONF_OPTS = --without-tcpwrappers
|
|
TFTPD_LICENSE = BSD-4-Clause
|
|
TFTPD_LICENSE_FILES = tftpd/tftpd.c
|
|
TFTPD_CPE_ID_VENDOR = tftpd-hpa_project
|
|
TFTPD_CPE_ID_NAME = tftpd-hpa
|
|
|
|
define TFTPD_INSTALL_TARGET_CMDS
|
|
$(INSTALL) -D $(@D)/tftp/tftp $(TARGET_DIR)/usr/bin/tftp
|
|
$(INSTALL) -D $(@D)/tftpd/tftpd $(TARGET_DIR)/usr/sbin/tftpd
|
|
endef
|
|
|
|
define TFTPD_INSTALL_INIT_SYSV
|
|
$(INSTALL) -D -m 0755 package/tftpd/S80tftpd-hpa $(TARGET_DIR)/etc/init.d/S80tftpd-hpa
|
|
endef
|
|
|
|
$(eval $(autotools-package))
|