1 ################################################################################
5 ################################################################################
7 MOARVM_VERSION
= 2016.04
8 MOARVM_SITE
= http
://moarvm.com
/releases
9 MOARVM_SOURCE
= MoarVM-
$(MOARVM_VERSION
).
tar.gz
10 MOARVM_LICENSE
= Artistic-2.0
11 MOARVM_LICENSE_FILES
= Artistic2.txt
12 MOARVM_INSTALL_STAGING
= YES
13 MOARVM_DEPENDENCIES
= host-luajit libuv libatomic_ops
16 --build
=$(GNU_HOST_NAME
) \
17 --host
=$(GNU_TARGET_NAME
) \
22 --lua
=$(HOST_DIR
)/usr
/bin
/luajit \
26 ifeq ($(BR2_ENDIAN
),"BIG")
27 MOARVM_CONF_OPTS
+= --big-endian
30 define MOARVM_CONFIGURE_CMDS
31 (cd
$(@D
); perl Configure.pl
$(MOARVM_CONF_OPTS
))
34 define MOARVM_BUILD_CMDS
38 define MOARVM_INSTALL_STAGING_CMDS
39 $(MAKE
) -C
$(@D
) DESTDIR
=$(STAGING_DIR
) install
42 define MOARVM_INSTALL_TARGET_CMDS
43 $(MAKE
) -C
$(@D
) DESTDIR
=$(TARGET_DIR
) install
46 $(eval
$(generic-package
))