#!/usr/bin/make -f

include ../source.mk

nop:
	@:

build:
	oh-autoconfigure
	oh-autobuild
	touch $@

install: build
	oh-autoinstall
	# XXX: libpng12-config is an architecture-dependent file in an
	# architecture-independent path.  Some package build systems may need
	# this script, but they should probably just be patched to use
	# pkg-config instead.
	rm dest/usr/bin/libpng*-config
	rm dest/usr/lib/$(OPK_HOST_ARCH)/libpng*.la
	rm dest/usr/lib/$(OPK_HOST_ARCH)/libpng.so.3*
	oh-fixperms
	oh-strip -k
	oh-installfiles