summaryrefslogtreecommitdiffstats
path: root/build
blob: 67a2719515c29d51502c44872a0ee6c9f2c22f63 (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
#!/usr/bin/make -f

upstream_source_dir = vorbis
# For 1.3.4 (from <https://www.xiph.org/downloads/>):
source_md5sum = 8851c593a52d1ef9c526d95174873852

include ../source.mk

nop:
	@:

build:
	oh-autoconfigure -- \
		--enable-static \
		--with-pic
	oh-autobuild
	if [ 'x$(OPK_BUILD_ARCH)' = 'x$(OPK_HOST_ARCH)' ]; then \
		oh-autotest; \
	fi
	touch $@

install: build
	oh-autoinstall
	oh-fixperms
	oh-strip
	oh-installfiles