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.

52 lines
1.2 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.52.1
  10. PKG_RELEASE:=$(AUTORELEASE)
  11. PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
  12. PKG_SOURCE_URL:=@GNOME/vala/0.52
  13. PKG_HASH:=17a083ce2405f967efa7d92bce82c49e5f65af334513e3d087a6b4435ed6b9fa
  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-coverage \
  35. --disable-debug \
  36. --disable-valadoc \
  37. --without-cgraph
  38. HOST_LDFLAGS += \
  39. -Wl,--rpath,$(STAGING_DIR_HOSTPKG)/lib
  40. $(eval $(call HostBuild))
  41. $(eval $(call BuildPackage,vala))