Makefile 850 B

12345678910111213141516171819202122232425262728293031323334353637383940
  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.7
  10. PKG_RELEASE:=2
  11. PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
  12. PKG_SOURCE_URL:=@SF/$(PKG_NAME)
  13. PKG_MD5SUM:=7fff46c84b8c630ede5b0f0827e3d90a
  14. PKG_INSTALL:=1
  15. PKG_MAINTAINER:=John Crispin <blogic@openwrt.org>
  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))