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.

50 lines
1.1 KiB

  1. #
  2. # Copyright (C) 2006-2017 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:=vala
  9. PKG_VERSION:=0.56.0
  10. PKG_RELEASE:=$(AUTORELEASE)
  11. PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
  12. PKG_SOURCE_URL:=@GNOME/vala/0.56
  13. PKG_HASH:=d92bd13c5630905eeb6a983dcb702204da9731460c2a6e4e39f867996f371040
  14. PKG_MAINTAINER:=
  15. PKG_LICENSE:=LGPL-2.1-or-later
  16. PKG_LICENSE_FILES:=COPYING
  17. PKG_HOST_ONLY:=1
  18. HOST_BUILD_DEPENDS:=glib2/host
  19. HOST_BUILD_PARALLEL:=1
  20. include $(INCLUDE_DIR)/package.mk
  21. include $(INCLUDE_DIR)/host-build.mk
  22. define Package/vala
  23. SECTION:=lang
  24. CATEGORY:=Languages
  25. TITLE:=C-sharp like language for the GObject system
  26. URL:=https://wiki.gnome.org/Projects/Vala
  27. BUILDONLY:=1
  28. endef
  29. define Package/vala/description
  30. Vala is a C-sharp like language for the GObject system. This package contains
  31. the Vala-to-C compiler for host.
  32. endef
  33. HOST_CONFIGURE_ARGS += \
  34. --disable-shared \
  35. --disable-coverage \
  36. --disable-debug \
  37. --disable-valadoc \
  38. --without-cgraph
  39. $(eval $(call HostBuild))
  40. $(eval $(call BuildPackage,vala))