#!/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