1 # This file is part of the OpenADK project. OpenADK is copyrighted
2 # material, please see the LICENCE file in the top-level directory.
4 include $(ADK_TOPDIR
)/rules.mk
7 PKG_VERSION
:= 0d313b243194a0b8d2399d8b549ca5a0ff234db5
10 PKG_DESCR
:= just in time compiler for lua
11 PKG_SECTION
:= dev
/lang
12 PKG_URL
:= http
://luajit.org
/download
/
13 PKG_SITES
:= https
://luajit.org
/git
/luajit.git
15 include $(ADK_TOPDIR
)/mk
/package.mk
17 $(eval
$(call PKG_template
,LUAJIT
,luajit
,$(PKG_VERSION
)-$(PKG_RELEASE
),$(PKG_DEPENDS
),$(PKG_DESCR
),$(PKG_SECTION
)))
21 XAKE_FLAGS
+= STATIC_CC
="$(TARGET_CC)" \
22 DYNAMIC_CC
="$(TARGET_CC)" \
23 CROSS
='$(TARGET_CROSS)' \
27 TARGET_CFLAGS
='$(TARGET_CFLAGS) -fPIC' \
28 TARGET_LDFLAGS
='$(TARGET_LDFLAGS)' \
29 HOST_CC
='$(HOST_CC)' \
30 HOST_CFLAGS
='$(HOST_CFLAGS)' \
31 HOST_LDFLAGS
='$(HOST_LDFLAGS)' \
35 $(INSTALL_DIR
) $(IDIR_LUAJIT
)/usr
/bin
36 $(CP
) $(WRKINST
)/usr
/bin
/luajit
* \
37 $(IDIR_LUAJIT
)/usr
/bin
38 $(INSTALL_DIR
) $(IDIR_LUAJIT
)/usr
/lib
39 $(CP
) $(WRKINST
)/usr
/lib
/libluajit-
*.so
* \
40 $(IDIR_LUAJIT
)/usr
/lib
42 include $(ADK_TOPDIR
)/mk
/pkg-bottom.mk