You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
44 lines
1.1 KiB
44 lines
1.1 KiB
|
|
PKG_NAME := kodi
|
|
PKG_VER := 19.4
|
|
HOMEPAGE="https://www.erlang.org/"
|
|
|
|
PKG_SOURCES := https://github.com/xbmc/xbmc/archive/refs/tags/19.4-Matrix.tar.gz
|
|
#MD5 не сделано
|
|
PKG_MD5 := 3c4c9da083f2a6b89aa1766415339d0c
|
|
|
|
#PKG_PATCHES := pkg_patch.txt
|
|
|
|
include $(EXTBLD_LIB)
|
|
|
|
#ERLANG_CPPFLAGS = ${EMBOX_CPPFLAGS}
|
|
#ERLANG_CPPFLAGS += -I$(abspath .)/include
|
|
#ERLANG_CPPFLAGS += -include $(abspath .)/include/embox_erlang_compat.h
|
|
|
|
$(CONFIGURE) :
|
|
export EMBOX_GCC_LINK=full; \
|
|
cd $(PKG_SOURCE_DIR) && ( \
|
|
/configure --prefix=$(PKG_INSTALL_DIR) \
|
|
--host=$(AUTOCONF_TARGET_TRIPLET) \
|
|
--target=$(AUTOCONF_TARGET_TRIPLET) \
|
|
CPPFLAGS="$(ERLANG_CPPFLAGS)" \
|
|
-with-termcap=no \
|
|
-with-javac=no \
|
|
CC=$(EMBOX_GCC) \
|
|
)
|
|
touch $@
|
|
|
|
$(BUILD) :
|
|
cd $(PKG_SOURCE_DIR) && ( \
|
|
$(MAKE) ERL_XCOMP_FORCE_DIFFERENT_OTP=yes MAKEFLAGS='$(EMBOX_IMPORTED_MAKEFLAGS)'; \
|
|
)
|
|
touch $@
|
|
|
|
$(INSTALL) :
|
|
cd $(BUILD_DIR)/$(PKG_NAME)-$(PKG_VER) && ( \
|
|
$(MAKE) DESTDIR=$(PKG_INSTALL_DIR) install; \
|
|
mv $(PKG_INSTALL_DIR)/usr/local/bin/erl $(PKG_INSTALL_DIR)/erl; \
|
|
)
|
|
touch $@
|
|
|