PKG_NAME=libspf2 PKG_VERSION=1.2.10 PKG_REVISION=7 STARTUP_SCRIPT= # https://packages.debian.org/search?searchon=sourcenames&keywords=libspf2 # https://packages.debian.org/source/sid/libspf2 PKG_FILE_LIST=http://http.debian.net/debian/pool/main/libs/libspf2/libspf2_1.2.10-7.dsc http://http.debian.net/debian/pool/main/libs/libspf2/libspf2_1.2.10.orig.tar.gz http://http.debian.net/debian/pool/main/libs/libspf2/libspf2_1.2.10-7.debian.tar.xz -include Makefile.local PATCHES0 = patch-src::spf_server.h.patch patch-src::DoS_limits.patch PATCHES = ${PATCHES0} build-configure : patch if [ "${OS_ID}" = "debian" ] && [ "${OS_VERSION_ID}" = "7" ] ; then \ echo "ERROR: This package can't be build on Debian Wheezy" ; \ exit 1 ; \ elif [ "${OS_ID}" = "debian" ] && [ "${OS_VERSION_ID}" = "6" ] ; then \ echo "ERROR: This package can't be build on Debian Squeeze" ; \ exit 1 ; \ elif [ "${OS_ID}" = "ubuntu" ] && [ "${OS_VERSION_ID}" = "12.04" ] ; then \ echo "ERROR: This package can't be build on Ubuntu Precise Pangolin" ; \ exit 1 ; \ fi ;