Makefile 1.0 KB

12345678910111213141516171819202122232425262728293031323334
  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.1
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= a12a16d88d6d565dacf2a5e6259a3337
  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. include ${TOPDIR}/mk/package.mk
  15. $(eval $(call PKG_template,BOGOFILTER,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  16. CONFIGURE_ENV+= LIBS="-liconv" \
  17. ac_cv_func_memcmp_working=yes
  18. CONFIGURE_ARGS+= --without-libsqlite3-prefix \
  19. --without-libqdbm-prefix \
  20. --with-included-gsl \
  21. --with-libdb-prefix=${STAGING_DIR}/usr \
  22. --disable-transactions
  23. post-install:
  24. ${INSTALL_DIR} ${IDIR_BOGOFILTER}/usr/bin
  25. ${INSTALL_BIN} ${WRKINST}/usr/bin/bogofilter \
  26. ${IDIR_BOGOFILTER}/usr/bin/
  27. include ${TOPDIR}/mk/pkg-bottom.mk