Added contribs and njs.
This commit is contained in:
19
pkg/contrib/src/njs/Makefile
Normal file
19
pkg/contrib/src/njs/Makefile
Normal file
@@ -0,0 +1,19 @@
|
||||
# njs
|
||||
|
||||
include $(dir $(abspath $(lastword $(MAKEFILE_LIST))))/version
|
||||
NJS_URL := https://hg.nginx.org/njs/archive/$(NJS_VERSION).tar.gz
|
||||
|
||||
PKGS += njs
|
||||
|
||||
$(TARBALLS)/njs-$(NJS_VERSION).tar.gz:
|
||||
$(call download_pkg,$(NJS_URL),njs)
|
||||
|
||||
.sum-njs: njs-$(NJS_VERSION).tar.gz
|
||||
|
||||
njs: njs-$(NJS_VERSION).tar.gz .sum-njs
|
||||
$(UNPACK)
|
||||
$(MOVE)
|
||||
|
||||
.njs: njs
|
||||
cd $< && ./configure && $(MAKE) libnjs
|
||||
touch $@
|
||||
Reference in New Issue
Block a user