blob: 3874efc64ee147771ed7c58fb20634c4b27cd8f3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
|
#
# Copyright (C) 2006-2017 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
include $(TOPDIR)/rules.mk
PKG_NAME:=vala
PKG_VERSION:=0.50.0
PKG_RELEASE:=1
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
PKG_SOURCE_URL:=@GNOME/vala/0.50
PKG_HASH:=838adc50ac08881e06cf233fefd93740dec1530312cc1cf12c36d4e0e87d3071
PKG_MAINTAINER:=
PKG_LICENSE:=LGPL-2.1-or-later
PKG_LICENSE_FILES:=COPYING
PKG_HOST_ONLY:=1
HOST_BUILD_DEPENDS:=glib2/host
HOST_BUILD_PARALLEL:=1
include $(INCLUDE_DIR)/package.mk
include $(INCLUDE_DIR)/host-build.mk
define Package/vala
SECTION:=lang
CATEGORY:=Languages
TITLE:=C-sharp like language for the GObject system
URL:=https://wiki.gnome.org/Projects/Vala
BUILDONLY:=1
endef
define Package/vala/description
Vala is a C-sharp like language for the GObject system. This package contains
the Vala-to-C compiler for host.
endef
HOST_CONFIGURE_ARGS += \
--disable-coverage \
--disable-debug \
--disable-valadoc \
--without-cgraph
HOST_LDFLAGS += \
-Wl,--rpath,$(STAGING_DIR_HOSTPKG)/lib
$(eval $(call HostBuild))
$(eval $(call BuildPackage,vala))
|