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/njs/Makefile | |
parent | 3778877eb3be3904edadb9f85553f81cdf32ea43 (diff) | |
download | unit-11c66941ce9146ca85533e8a3169ef3941340896.tar.gz unit-11c66941ce9146ca85533e8a3169ef3941340896.tar.bz2 |
Added contribs and njs.
Diffstat (limited to 'pkg/contrib/src/njs/Makefile')
-rw-r--r-- | pkg/contrib/src/njs/Makefile | 19 |
1 files changed, 19 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 $@ |