summaryrefslogtreecommitdiffstats
path: root/build
blob: 7a435f94a11bcea510baa1506080cf2f04c7a48b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#!/usr/bin/make -f

include ../source.mk

nop:
	@:

build:
	oh-autoconfigure -- \
		--enable-utf \
		--enable-unicode-properties \
		$$(../jit-test.sh)
	oh-autobuild
	if [ 'x$(OPK_BUILD_ARCH)' = 'x$(OPK_HOST_ARCH)' ]; then \
		oh-autobuild -T check; \
	fi
	touch $@

install: build
	oh-autoinstall
	rm dest/usr/lib/$(OPK_HOST_ARCH)/*.la
	mv dest/usr/share/doc/pcre/ dest/usr/share/doc/libpcre.3/
	oh-fixperms
	oh-strip -k
	oh-installfiles