2e7e19a5b0
Fix the following build failure raised since bump to version 1.3.3 in
commit 163509a8e0
:
>>> htpdate 1.3.3 Installing to target
PATH="/home/buildroot/autobuild/instance-0/output-1/host/bin:/home/buildroot/autobuild/instance-0/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" /usr/bin/make -j4 -C /home/buildroot/autobuild/instance-0/output-1/build/htpdate-1.3.3 DESTDIR=/home/buildroot/autobuild/instance-0/output-1/target install
make[1]: Entering directory '/home/buildroot/autobuild/instance-0/output-1/build/htpdate-1.3.3'
strip -s htpdate
strip: Unable to recognise the format of the input file `htpdate'
Fixes:
- http://autobuild.buildroot.org/results/f1034de5ebc2fc2c49711820077d0b6e5e13aea5
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
37 lines
1005 B
Makefile
37 lines
1005 B
Makefile
################################################################################
|
|
#
|
|
# htpdate
|
|
#
|
|
################################################################################
|
|
|
|
HTPDATE_VERSION = 1.3.3
|
|
HTPDATE_SITE = $(call github,twekkel,htpdate,v$(HTPDATE_VERSION))
|
|
HTPDATE_LICENSE = GPL-2.0+
|
|
HTPDATE_LICENSE_FILES = LICENSE
|
|
|
|
ifeq ($(BR2_PACKAGE_OPENSSL),y)
|
|
HTPDATE_BUILD_OPTS = https
|
|
HTPDATE_DEPENDENCIES += openssl host-pkgconf
|
|
endif
|
|
|
|
define HTPDATE_BUILD_CMDS
|
|
$(TARGET_MAKE_ENV) $(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) $(HTPDATE_BUILD_OPTS)
|
|
endef
|
|
|
|
define HTPDATE_INSTALL_TARGET_CMDS
|
|
$(TARGET_MAKE_ENV) $(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) \
|
|
DESTDIR=$(TARGET_DIR) install
|
|
endef
|
|
|
|
define HTPDATE_INSTALL_INIT_SYSV
|
|
$(INSTALL) -D -m 0755 package/htpdate/S43htpdate \
|
|
$(TARGET_DIR)/etc/init.d/S43htpdate
|
|
endef
|
|
|
|
define HTPDATE_INSTALL_INIT_SYSTEMD
|
|
$(INSTALL) -D -m 0644 package/htpdate/htpdate.service \
|
|
$(TARGET_DIR)/usr/lib/systemd/system/htpdate.service
|
|
endef
|
|
|
|
$(eval $(generic-package))
|