Makefile 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  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.0
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= 4bbc9adc30d4f8e3a547f9be18a1cb74
  8. PKG_DESCR:= mail filter
  9. PKG_SECTION:= mail
  10. PKG_DEPENDS:= libdb libiconv
  11. PKG_URL:= http://bogofilter.sourceforge.net/
  12. PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=bogofilter/}
  13. include ${TOPDIR}/mk/package.mk
  14. $(eval $(call PKG_template,BOGOFILTER,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  15. CONFIGURE_STYLE= autotool gnu
  16. CONFIGURE_ENV+= LIBS="-liconv"
  17. CONFIGURE_ARGS+= --without-libsqlite3-prefix \
  18. --without-libqdbm-prefix \
  19. --with-included-gsl \
  20. --with-libdb-prefix=${STAGING_DIR}/usr \
  21. --disable-transactions
  22. BUILD_STYLE= auto
  23. INSTALL_STYLE= auto
  24. post-install:
  25. ${INSTALL_DIR} ${IDIR_BOGOFILTER}/usr/bin
  26. ${INSTALL_BIN} ${WRKINST}/usr/bin/${PKG_NAME} ${IDIR_BOGOFILTER}/usr/bin/
  27. ifeq (${ADK_PACKAGE_BOGOFILTER_BOGOUTIL},y)
  28. ${INSTALL_BIN} ${WRKINST}/usr/bin/bogoutil ${IDIR_BOGOFILTER}/usr/bin/
  29. endif
  30. ifeq (${ADK_PACKAGE_BOGOFILTER_BOGOTUNE},y)
  31. ${INSTALL_BIN} ${WRKINST}/usr/bin/bogotune ${IDIR_BOGOFILTER}/usr/bin/
  32. endif
  33. include ${TOPDIR}/mk/pkg-bottom.mk