blob: b1b3bf85d334e3749a5aa158eb7f4ed7cc2016ce (
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
|
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= vala
PKG_VERSION:= 0.30.0
PKG_RELEASE:= 1
PKG_HASH:= 61f0337b000f7ed6ef8c1fea87e0047d9bd7c0f91dd9c5b4eb70fd3fb883dedf
PKG_DESCR:= compiler for the gobject type system
PKG_SECTION:= dev/lang
PKG_BUILDDEP:= glib
HOST_BUILDDEP:= glib-host libffi-host
PKG_URL:= https://wiki.gnome.org/Vala
PKG_SITES:= http://download.gnome.org/sources/vala/0.30/
include $(ADK_TOPDIR)/mk/host.mk
include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call HOST_template,VALA,vala,$(PKG_VERSION)-${PKG_RELEASE}))
$(eval $(call PKG_template,VALA,vala,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
HOST_LDFLAGS+= -ldl -lffi
vala-install:
$(INSTALL_DIR) $(IDIR_VALA)/usr/bin
$(INSTALL_BIN) $(WRKINST)/usr/bin/valac \
$(IDIR_VALA)/usr/bin
include ${ADK_TOPDIR}/mk/host-bottom.mk
include ${ADK_TOPDIR}/mk/pkg-bottom.mk
|