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 $@
|
||||
1
pkg/contrib/src/njs/SHA512SUMS
Normal file
1
pkg/contrib/src/njs/SHA512SUMS
Normal file
@@ -0,0 +1 @@
|
||||
dc73029e7b570a7fbc94e90deb1e17c9a3d85072dc0e060f11dd96bd173e11b7c823c57115369d3c68af7acd97fabe619b70dfd73280694f8b5dc8b7929d850b njs-0.7.9.tar.gz
|
||||
1
pkg/contrib/src/njs/version
Normal file
1
pkg/contrib/src/njs/version
Normal file
@@ -0,0 +1 @@
|
||||
NJS_VERSION := 0.7.9
|
||||
Reference in New Issue
Block a user