Move all to deprecated folder.
This commit is contained in:
2
deprecated/firmware/buildroot/package/swig/swig.hash
Normal file
2
deprecated/firmware/buildroot/package/swig/swig.hash
Normal file
@@ -0,0 +1,2 @@
|
||||
# Locally computed:
|
||||
sha256 06dc8816a225667ce1eee545af3caf87e1bbaa379c32838d4cea53152514348d swig-3.0.7.tar.gz
|
||||
36
deprecated/firmware/buildroot/package/swig/swig.mk
Normal file
36
deprecated/firmware/buildroot/package/swig/swig.mk
Normal file
@@ -0,0 +1,36 @@
|
||||
################################################################################
|
||||
#
|
||||
# swig
|
||||
#
|
||||
################################################################################
|
||||
|
||||
SWIG_VERSION_MAJOR = 3.0
|
||||
SWIG_VERSION = $(SWIG_VERSION_MAJOR).7
|
||||
SWIG_SITE = http://downloads.sourceforge.net/project/swig/swig/swig-$(SWIG_VERSION)
|
||||
SWIG_DEPENDENCIES = host-bison
|
||||
HOST_SWIG_CONF_OPTS = \
|
||||
--without-pcre \
|
||||
--disable-ccache \
|
||||
--without-octave
|
||||
SWIG_LICENSE = GPLv3+, BSD-2c, BSD-3c
|
||||
SWIG_LICENSE_FILES = LICENSE LICENSE-GPL LICENSE-UNIVERSITIES
|
||||
|
||||
# CMake looks first at swig3.0, then swig2.0 and then swig. However,
|
||||
# when doing the search, it will look into the PATH for swig2.0 first,
|
||||
# and then for swig.
|
||||
# While the PATH contains first our $(HOST_DIR)/usr/bin, it also contains
|
||||
# /usr/bin and other system directories. Therefore, if there is an
|
||||
# installed swig3.0 on the system, it will get the preference over the
|
||||
# swig installed in $(HOST_DIR)/usr/bin, which isn't nice. To prevent
|
||||
# this from happening we create a symbolic link swig3.0 -> swig, so that
|
||||
# our swig always gets used.
|
||||
|
||||
define HOST_SWIG_INSTALL_SYMLINK
|
||||
ln -fs swig $(HOST_DIR)/usr/bin/swig$(SWIG_VERSION_MAJOR)
|
||||
endef
|
||||
|
||||
HOST_SWIG_POST_INSTALL_HOOKS += HOST_SWIG_INSTALL_SYMLINK
|
||||
|
||||
$(eval $(host-autotools-package))
|
||||
|
||||
SWIG = $(HOST_DIR)/usr/bin/swig$(SWIG_VERSION_MAJOR)
|
||||
Reference in New Issue
Block a user