summaryrefslogtreecommitdiffstats
path: root/build
blob: bf967a5fe00c1ae5e688cedfedfe93dadceb4274 (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

# For 3.1.2:
source_sha256sum = eb87eacd8fe49e8d90c8fdc189813023ccc319c5e752b01fb6ad0cc7b2c53d5e

include ../source.mk

nop:
	@:

build:
	oh-autoconfigure -- \
		--enable-bsdtar=shared --enable-bsdcpio=shared
	oh-autobuild
	if [ 'x$(OPK_BUILD_ARCH)' = 'x$(OPK_HOST_ARCH)' ]; then \
		LC_ALL=C oh-autotest; \
	fi
	touch $@

install: build
	oh-autoinstall
	rm dest/usr/lib/$(OPK_HOST_ARCH)/libarchive.la
	oh-fixperms
	oh-strip
	oh-installfiles