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.

40 lines
920 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:=3.0.12
  10. PKG_RELEASE:=2
  11. PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
  12. PKG_SOURCE_URL:=@SF/$(PKG_NAME)
  13. PKG_HASH:=7cf9f447ae7ed1c51722efc45e7f14418d15d7a1e143ac9f09a668999f4fc94d
  14. PKG_INSTALL:=1
  15. PKG_MAINTAINER:=John Crispin <blogic@openwrt.org>, Hirokazu MORIKAWA <morikw2@gmail.com>
  16. PKG_LICENSE:=GPL-3.0
  17. PKG_LICENSE_FILES:=LICENSE
  18. include $(INCLUDE_DIR)/host-build.mk
  19. include $(INCLUDE_DIR)/package.mk
  20. define Package/swig
  21. SECTION:=libs
  22. CATEGORY:=Libraries
  23. TITLE:=swig binding generator
  24. BUILDONLY:=1
  25. endef
  26. HOST_CONFIGURE_ARGS+= \
  27. --without-pcre
  28. define Package/swig/description
  29. tool that generates bindings for various languages
  30. endef
  31. $(eval $(call HostBuild))
  32. $(eval $(call BuildPackage,swig))