Makefile 1.1 KB

123456789101112131415161718192021222324252627282930313233343536
  1. # This file is part of the OpenADK project. OpenADK is copyrighted
  2. # material, please see the LICENCE file in the top-level directory.
  3. include ${TOPDIR}/rules.mk
  4. PKG_NAME:= bogofilter
  5. PKG_VERSION:= 1.2.2
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= 39d27c13eae8a5064d68e20d585e60de
  8. PKG_DESCR:= mail filter
  9. PKG_SECTION:= mail
  10. PKG_DEPENDS:= libiconv libdb
  11. PKG_BUILDDEP:= libiconv libdb
  12. PKG_URL:= http://bogofilter.sourceforge.net/
  13. PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=bogofilter/}
  14. PKG_HOST_DEPENDS:= !darwin
  15. include ${TOPDIR}/mk/package.mk
  16. $(eval $(call PKG_template,BOGOFILTER,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  17. CONFIGURE_ENV+= LIBS="-liconv" \
  18. ac_cv_func_memcmp_working=yes
  19. CONFIGURE_ARGS+= --without-libsqlite3-prefix \
  20. --without-libqdbm-prefix \
  21. --with-included-gsl \
  22. --with-libdb-prefix=${STAGING_DIR}/usr \
  23. --disable-transactions
  24. post-install:
  25. ${INSTALL_DIR} ${IDIR_BOGOFILTER}/usr/bin
  26. ${INSTALL_BIN} ${WRKINST}/usr/bin/bogofilter \
  27. ${IDIR_BOGOFILTER}/usr/bin/
  28. include ${TOPDIR}/mk/pkg-bottom.mk