summaryrefslogblamecommitdiffhomepage
path: root/pkg/contrib/src/njs/Makefile
blob: 6a4fdf9d5db633945ec1dd02b856c382aa670827 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
















                                                                 



                                 
                
# 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 \
		--no-libxml2 \
		--no-zlib \
		&& $(MAKE) libnjs
	touch $@