#!/usr/bin/make -f

include ../source.mk

nop:
	@:

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

install: build
	oh-autoinstall
	mv dest/usr/bin/patch dest/usr/bin/patch.gnu
	oh-fixperms
	oh-strip
	oh-installfiles
	oh-shlibdeps