Move all to deprecated folder.
This commit is contained in:
10
deprecated/firmware/buildroot/package/jimtcl/Config.in
Normal file
10
deprecated/firmware/buildroot/package/jimtcl/Config.in
Normal file
@@ -0,0 +1,10 @@
|
||||
config BR2_PACKAGE_JIMTCL
|
||||
bool "jimtcl"
|
||||
help
|
||||
Jim Tcl is a small footprint reimplementation of the Tcl
|
||||
scripting language. The core language engine is compatible
|
||||
with Tcl 8.5+, while implementing a significant subset of
|
||||
the Tcl 8.6 command set, plus additional features available
|
||||
only in Jim Tcl.
|
||||
|
||||
http://jim.tcl.tk
|
||||
2
deprecated/firmware/buildroot/package/jimtcl/jimtcl.hash
Normal file
2
deprecated/firmware/buildroot/package/jimtcl/jimtcl.hash
Normal file
@@ -0,0 +1,2 @@
|
||||
# From http://snapshot.debian.org/archive/debian/20141023T043132Z/pool/main/j/jimtcl/jimtcl_0.75-1.dsc
|
||||
sha256 432ad29b98f33efd018d9e1d49a5d07a5efc523c5660983733f7e30d9b2b76cb jimtcl_0.75.orig.tar.xz
|
||||
70
deprecated/firmware/buildroot/package/jimtcl/jimtcl.mk
Normal file
70
deprecated/firmware/buildroot/package/jimtcl/jimtcl.mk
Normal file
@@ -0,0 +1,70 @@
|
||||
################################################################################
|
||||
#
|
||||
# jimtcl
|
||||
#
|
||||
################################################################################
|
||||
|
||||
JIMTCL_VERSION = 0.75
|
||||
JIMTCL_SITE = http://snapshot.debian.org/archive/debian/20141023T043132Z/pool/main/j/jimtcl
|
||||
JIMTCL_SOURCE = jimtcl_$(JIMTCL_VERSION).orig.tar.xz
|
||||
JIMTCL_INSTALL_STAGING = YES
|
||||
JIMTCL_LICENSE = BSD-2c
|
||||
JIMTCL_LICENSE_FILES = LICENSE
|
||||
|
||||
JIMTCL_HEADERS_TO_INSTALL = \
|
||||
jim.h \
|
||||
jim-eventloop.h \
|
||||
jim-signal.h \
|
||||
jim-subcmd.h \
|
||||
jim-win32compat.h \
|
||||
jim-config.h \
|
||||
|
||||
ifeq ($(BR2_PACKAGE_TCL),)
|
||||
define JIMTCL_LINK_TCLSH
|
||||
ln -sf jimsh $(TARGET_DIR)/usr/bin/tclsh
|
||||
endef
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_STATIC_LIBS),y)
|
||||
define JIMTCL_INSTALL_LIB
|
||||
$(INSTALL) -m 0644 -D $(@D)/libjim.a $(1)/usr/lib/libjim.a
|
||||
endef
|
||||
else
|
||||
JIMTCL_SHARED = --shared
|
||||
define JIMTCL_INSTALL_LIB
|
||||
$(INSTALL) -m 0755 -D $(@D)/libjim.so.$(JIMTCL_VERSION) \
|
||||
$(1)/usr/lib/libjim.so.$(JIMTCL_VERSION)
|
||||
ln -sf libjim.so.$(JIMTCL_VERSION) $(1)/usr/lib/libjim.so
|
||||
endef
|
||||
endif
|
||||
|
||||
define JIMTCL_CONFIGURE_CMDS
|
||||
(cd $(@D); \
|
||||
$(TARGET_CONFIGURE_OPTS) CCACHE=none \
|
||||
./configure --prefix=/usr \
|
||||
$(JIMTCL_SHARED) \
|
||||
)
|
||||
endef
|
||||
|
||||
# -fPIC is mandatory to build shared libraries on certain architectures
|
||||
# (e.g. SPARC) and causes no harm or drawbacks on other architectures
|
||||
define JIMTCL_BUILD_CMDS
|
||||
SH_CFLAGS="-fPIC" \
|
||||
SHOBJ_CFLAGS="-fPIC" \
|
||||
$(MAKE) -C $(@D)
|
||||
endef
|
||||
|
||||
define JIMTCL_INSTALL_STAGING_CMDS
|
||||
for i in $(JIMTCL_HEADERS_TO_INSTALL); do \
|
||||
cp -a $(@D)/$$i $(STAGING_DIR)/usr/include/ || exit 1 ; \
|
||||
done; \
|
||||
$(call JIMTCL_INSTALL_LIB,$(STAGING_DIR))
|
||||
endef
|
||||
|
||||
define JIMTCL_INSTALL_TARGET_CMDS
|
||||
$(INSTALL) -D $(@D)/jimsh $(TARGET_DIR)/usr/bin/jimsh
|
||||
$(call JIMTCL_INSTALL_LIB,$(TARGET_DIR))
|
||||
$(JIMTCL_LINK_TCLSH)
|
||||
endef
|
||||
|
||||
$(eval $(generic-package))
|
||||
Reference in New Issue
Block a user