diff options
author | Konstantin Pavlov <thresh@nginx.com> | 2022-11-29 18:12:54 +0400 |
---|---|---|
committer | Konstantin Pavlov <thresh@nginx.com> | 2022-11-29 18:12:54 +0400 |
commit | 11c66941ce9146ca85533e8a3169ef3941340896 (patch) | |
tree | 3c853fb8e3c7c7a5ee27ddaad4b36d80a4527e7c /pkg/contrib/src | |
parent | 3778877eb3be3904edadb9f85553f81cdf32ea43 (diff) | |
download | unit-11c66941ce9146ca85533e8a3169ef3941340896.tar.gz unit-11c66941ce9146ca85533e8a3169ef3941340896.tar.bz2 |
Added contribs and njs.
Diffstat (limited to 'pkg/contrib/src')
-rw-r--r-- | pkg/contrib/src/njs/Makefile | 19 | ||||
-rw-r--r-- | pkg/contrib/src/njs/SHA512SUMS | 1 | ||||
-rw-r--r-- | pkg/contrib/src/njs/version | 1 |
3 files changed, 21 insertions, 0 deletions
diff --git a/pkg/contrib/src/njs/Makefile b/pkg/contrib/src/njs/Makefile new file mode 100644 index 00000000..54255aef --- /dev/null +++ b/pkg/contrib/src/njs/Makefile @@ -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 $@ diff --git a/pkg/contrib/src/njs/SHA512SUMS b/pkg/contrib/src/njs/SHA512SUMS new file mode 100644 index 00000000..1bddec9b --- /dev/null +++ b/pkg/contrib/src/njs/SHA512SUMS @@ -0,0 +1 @@ +dc73029e7b570a7fbc94e90deb1e17c9a3d85072dc0e060f11dd96bd173e11b7c823c57115369d3c68af7acd97fabe619b70dfd73280694f8b5dc8b7929d850b njs-0.7.9.tar.gz diff --git a/pkg/contrib/src/njs/version b/pkg/contrib/src/njs/version new file mode 100644 index 00000000..511715d0 --- /dev/null +++ b/pkg/contrib/src/njs/version @@ -0,0 +1 @@ +NJS_VERSION := 0.7.9 |