summaryrefslogtreecommitdiffstats
path: root/build
blob: 10d016347b716d6df410ca87794e7acc3553f404 (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
26
27
#!/usr/bin/make -f

upstream_source_dir = flac
# For 1.3.0 (from <https://www.xiph.org/downloads/>):
source_md5sum = 13b5c214cee8373464d3d65dee362cdd

include ../source.mk

nop:
	@:

build:
	oh-autoconfigure -- \
		--disable-rpath \
		--enable-static
	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
	oh-fixperms
	oh-strip
	oh-installfiles