| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748 |
- # 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:= nodejs
- PKG_VERSION:= 6.6.0
- PKG_RELEASE:= 1
- PKG_HASH:= 11b957de855a392ceaa8b300ec66236d6f9c6baa184837d00bdaba2da4aefe91
- PKG_DESCR:= asynchronous event driven framework
- PKG_SECTION:= net/http
- PKG_DEPENDS:= zlib libopenssl
- PKG_BUILDDEP:= python2-host zlib openssl
- PKG_NEEDS:= threads rt c++
- PKG_URL:= https://nodejs.org/
- PKG_SITES:= https://nodejs.org/dist/v$(PKG_VERSION)/
- DISTFILES:= node-v$(PKG_VERSION).tar.gz
- WRKDIST= $(WRKDIR)/node-v$(PKG_VERSION)
- include $(ADK_TOPDIR)/mk/package.mk
- $(eval $(call PKG_template,NODEJS,nodejs,$(PKG_VERSION)-$(PKG_RELEASE),$(PKG_DEPENDS),$(PKG_DESCR),$(PKG_SECTION)))
- CONFIG_STYLE:= manual
- do-configure:
- (cd $(WRKSRC); \
- PYTHON=$(STAGING_HOST_DIR)/usr/bin/python2 \
- $(STAGING_HOST_DIR)/usr/bin/python2 ./configure \
- --prefix=/usr \
- --without-snapshot \
- --without-dtrace \
- --without-etw \
- --without-intl \
- --shared-openssl \
- --shared-zlib \
- )
- nodejs-install:
- $(INSTALL_DIR) $(IDIR_NODEJS)/usr/lib
- $(CP) $(WRKINST)/usr/lib/node_modules \
- $(IDIR_NODEJS)/usr/lib
- $(INSTALL_DIR) $(IDIR_NODEJS)/usr/bin
- $(INSTALL_BIN) $(WRKINST)/usr/bin/node \
- $(IDIR_NODEJS)/usr/bin
- include $(ADK_TOPDIR)/mk/pkg-bottom.mk
|