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

upstream_source_dir = ogg
# For 1.3.2 (from <https://www.xiph.org/downloads/>):
source_md5sum = b72e1a1dbadff3248e4ed62a4177e937

include ../source.mk

nop:
	@:

build:
	oh-autoconfigure -- \
		--enable-static
	oh-autobuild
	touch $@

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