SWIG-4.2.0 summary: Various template wrapping improvements: template template parameters, variadic templates, partially specialized templates, const template parameters and improved error checking instantiating templates. Improved decltype() support for expressions. C++14 auto without trailing return type and C++11 auto variables. Numerous C++ using declarations improvements. Numerous fixes for constructors, destructors and assignment operators: implicit, default and deleted and related non-assignable variable wrappers. STL: std::array and std::map improvements, std::string_view support added. Various C preprocessor improvements. Various issues fixed to do with architecture specific long type. Various Doxygen improvements. D1/Tango support removed. D2/Phobos is now the supported D version and SWIG now generates code which works with recent D2 releases. New Javascript generator targeting Node.js binary stable ABI Node-API. Octave 8.1 support added. PHP7 support removed, PHP8 is now the supported PHP version. Python STL container wrappers now use the Python Iterator Protocol. Python stable ABI support added. Python 3.12 support added. Ruby 3.2 and 3.3 support. Scilab 2023.* support added. Various minor enhancements for C#, Go, Guile, Javascript, Lua, Ocaml, Perl, PHP, R, Racket, Ruby, Scilab and Tcl. A number of deprecated features have been removed. Signed-off-by: Hirokazu MORIKAWA <morikw2@gmail.com>
44 lines
1,006 B
Makefile
44 lines
1,006 B
Makefile
#
|
|
# Copyright (C) 2006-2013 OpenWrt.org
|
|
#
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
# See /LICENSE for more information.
|
|
#
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
PKG_NAME:=swig
|
|
PKG_VERSION:=4.2.0
|
|
PKG_RELEASE:=1
|
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
|
PKG_SOURCE_URL:=@SF/$(PKG_NAME)
|
|
PKG_HASH:=261ca2d7589e260762817b912c075831572b72ff2717942f75b3e51244829c97
|
|
|
|
PKG_MAINTAINER:=John Crispin <blogic@openwrt.org>, Hirokazu MORIKAWA <morikw2@gmail.com>
|
|
PKG_LICENSE:=GPL-3.0-or-later
|
|
PKG_LICENSE_FILES:=LICENSE
|
|
|
|
PKG_HOST_ONLY:=1
|
|
HOST_BUILD_PARALLEL:=1
|
|
HOST_BUILD_DEPENDS:=pcre2/host
|
|
|
|
include $(INCLUDE_DIR)/host-build.mk
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
define Package/swig
|
|
SECTION:=libs
|
|
CATEGORY:=Libraries
|
|
TITLE:=swig binding generator
|
|
URL:=http://swig.org/
|
|
BUILDONLY:=1
|
|
endef
|
|
|
|
HOST_CONFIGURE_ARGS += \
|
|
--with-pcre
|
|
|
|
define Package/swig/description
|
|
tool that generates bindings for various languages
|
|
endef
|
|
|
|
$(eval $(call HostBuild))
|
|
$(eval $(call BuildPackage,swig))
|