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.

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