#!/usr/bin/make -f
%:
	dh $@ --buildsystem=phppear --with phppear

override_dh_auto_test:
ifeq (,$(findstring nocheck, $(DEB_BUILD_OPTIONS)))
	test -f Crypt && rm -f Crypt && ln -s Crypt_Blowfish-1.1.0RC2 Crypt 
	phpunit Crypt/tests
else
	@echo "** tests disabled"
endif
