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