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.

43 lines
978 B

  1. #
  2. # Copyright (C) 2006-2013 OpenWrt.org
  3. #
  4. # This is free software, licensed under the GNU General Public License v2.
  5. # See /LICENSE for more information.
  6. #
  7. include $(TOPDIR)/rules.mk
  8. PKG_NAME:=swig
  9. PKG_VERSION:=4.0.2
  10. PKG_RELEASE:=2
  11. PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
  12. PKG_SOURCE_URL:=@SF/$(PKG_NAME)
  13. PKG_HASH:=d53be9730d8d58a16bf0cbd1f8ac0c0c3e1090573168bfa151b01eb47fa906fc
  14. PKG_MAINTAINER:=John Crispin <blogic@openwrt.org>, Hirokazu MORIKAWA <morikw2@gmail.com>
  15. PKG_LICENSE:=GPL-3.0-or-later
  16. PKG_LICENSE_FILES:=LICENSE
  17. PKG_HOST_ONLY:=1
  18. HOST_BUILD_PARALLEL:=1
  19. include $(INCLUDE_DIR)/host-build.mk
  20. include $(INCLUDE_DIR)/package.mk
  21. define Package/swig
  22. SECTION:=libs
  23. CATEGORY:=Libraries
  24. TITLE:=swig binding generator
  25. URL:=http://swig.org/
  26. BUILDONLY:=1
  27. endef
  28. HOST_CONFIGURE_ARGS += \
  29. --without-pcre
  30. define Package/swig/description
  31. tool that generates bindings for various languages
  32. endef
  33. $(eval $(call HostBuild))
  34. $(eval $(call BuildPackage,swig))