###############################################################################
# #
# IPFire.org - A linux based firewall #
-# Copyright (C) 2007 Michael Tremer & Christian Schmidt #
+# Copyright (C) 2007-2021 IPFire Team <info@ipfire.org> #
# #
# This program is free software: you can redistribute it and/or modify #
# it under the terms of the GNU General Public License as published by #
include Config
-VER = 8.4.13
+VER = 8.6.12
THISAPP = tcl$(VER)
DL_FILE = $(THISAPP)-src.tar.gz
DL_FROM = $(URL_IPFIRE)
DIR_APP = $(DIR_SRC)/$(THISAPP)
-ifeq "$(LFS_PASS)" "toolchain"
+ifneq "$(ROOT)" ""
TARGET = $(DIR_INFO)/$(THISAPP)-tools
else
TARGET = $(DIR_INFO)/$(THISAPP)
$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
-$(DL_FILE)_MD5 = c6b655ad5db095ee73227113220c0523
+$(DL_FILE)_BLAKE2 = 21367f4ee5903fac68177b6cc61517237e1b9347a18f213cb02ebd7cde21af9d5590d7270bc5ba8c03f3595dea1f2eaf065165b1cc0b0bc34e5329cd197b8159
install : $(TARGET)
download :$(patsubst %,$(DIR_DL)/%,$(objects))
-md5 : $(subst %,%_MD5,$(objects))
+b2 : $(subst %,%_BLAKE2,$(objects))
###############################################################################
-# Downloading, checking, md5sum
+# Downloading, checking, b2sum
###############################################################################
$(patsubst %,$(DIR_CHK)/%,$(objects)) :
$(patsubst %,$(DIR_DL)/%,$(objects)) :
@$(LOAD)
-$(subst %,%_MD5,$(objects)) :
- @$(MD5)
+$(subst %,%_BLAKE2,$(objects)) :
+ @$(B2SUM)
###############################################################################
# Installation Details
$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
@$(PREBUILD)
@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
-ifeq "$(LFS_PASS)" "toolchain"
- cd $(DIR_APP)/unix && ./configure --prefix=/tools --disable-nls
-else
- cd $(DIR_APP)/unix && ./configure --prefix=/usr --disable-nls
-endif
+ cd $(DIR_APP)/unix && ./configure --prefix=$(PREFIX)
cd $(DIR_APP)/unix && make $(MAKETUNING)
cd $(DIR_APP)/unix && make install
-ifeq "$(LFS_PASS)" "toolchain"
+ifneq "$(ROOT)" ""
cd $(DIR_APP)/unix && make install-private-headers
- ln -sf tclsh8.4 /tools/bin/tclsh
+ ln -sf tclsh8.6 $(TOOLS_DIR)/bin/tclsh
else
- ln -sf tclsh8.4 /usr/bin/tclsh
+ ln -sf tclsh8.6 /usr/bin/tclsh
endif
@rm -rf $(DIR_APP)
@$(POSTBUILD)