#!/usr/bin/make -f

include ../source.mk

build:
	chmod a+x src/configure
	oh-autoconfigure -- \
		--disable-static \
		--disable-curl --disable-ssl-curl --disable-gpg
	oh-autobuild
	touch $@

install: build
	oh-autoinstall
	rm -f dest/usr/lib/$(OPK_HOST_ARCH)/libopkg.la
	oh-fixperms
	oh-strip -k
	oh-installfiles