You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

31 lines
929 B

9 years ago
################################################################################
#
# tlsdate
#
################################################################################
TLSDATE_VERSION = master
TLSDATE_SITE = https://github.com/ioerror/tlsdate.git
9 years ago
TLSDATE_SITE_METHOD = git
9 years ago
TLSDATE_LICENSE_FILES = LICENSE
TLSDATE_CFLAGS = $(TARGET_CFLAGS) -I$(@D)
TLSDATE_CXXFLAGS = $(TARGET_CXXFLAGS) -I$(@D)
9 years ago
define TLSDATE_CONFIGURE_CMDS
./autogen.sh
./configure
endef
9 years ago
define TLSDATE_BUILD_CMDS
$(MAKE) $(TARGET_CONFIGURE_OPTS) HOSTCC="$(TARGET_CC)" CXXFLAGS="$(TLSDATE_CXXFLAGS)" CFLAGS="$(TLSDATE_CFLAGS)" -C $(@D)
endef
define TLSDATE_INSTALL_TARGET_CMDS
$(INSTALL) -m 0755 -D $(@D)/tlsdate $(TARGET_DIR)/usr/sbin/tlsdate
$(INSTALL) -m 0755 -D $(@D)/etc/tlsdated.conf $(TARGET_DIR)/etc/tlsdated.conf
# $(INSTALL) -m 0755 -D $(@D)/init/tlsdated-cros.conf $(TARGET_DIR)/etc/init.d/tlsdate
endef
$(eval $(generic-package))