Makefile 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637
  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 ${ADK_TOPDIR}/rules.mk
  4. PKG_NAME:= bogofilter
  5. PKG_VERSION:= 1.2.4
  6. PKG_RELEASE:= 1
  7. PKG_HASH:= d2f2598d1300307209b7b1905cc0637d2d053c0a4701a8d44383867299578471
  8. PKG_DESCR:= mail filter software
  9. PKG_SECTION:= net/mail
  10. PKG_BUILDDEP:= db
  11. PKG_DEPENDS:= libdb libstdcxx
  12. PKG_URL:= http://bogofilter.sourceforge.net/
  13. PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=bogofilter/}
  14. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
  15. include ${ADK_TOPDIR}/mk/package.mk
  16. $(eval $(call PKG_template,BOGOFILTER,bogofilter,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  17. CONFIGURE_ENV+= ac_cv_func_memcmp_working=yes
  18. CONFIGURE_ARGS+= --without-libsqlite3-prefix \
  19. --without-libqdbm-prefix \
  20. --without-libiconv-prefix \
  21. --with-included-gsl \
  22. --disable-static \
  23. --with-libdb-prefix=${STAGING_TARGET_DIR}/usr \
  24. --disable-transactions
  25. bogofilter-install:
  26. ${INSTALL_DIR} ${IDIR_BOGOFILTER}/usr/bin
  27. ${INSTALL_BIN} ${WRKINST}/usr/bin/bogofilter \
  28. ${IDIR_BOGOFILTER}/usr/bin/
  29. include ${ADK_TOPDIR}/mk/pkg-bottom.mk