Makefile 1.1 KB

1234567891011121314151617181920212223242526272829303132333435
  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:= 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_STYLE:= autotool gnu
  17. CONFIGURE_ENV+= LIBS="-liconv"
  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. BUILD_STYLE:= auto
  24. INSTALL_STYLE:= auto
  25. post-install:
  26. ${INSTALL_DIR} ${IDIR_BOGOFILTER}/usr/bin
  27. ${INSTALL_BIN} ${WRKINST}/usr/bin/${PKG_NAME} ${IDIR_BOGOFILTER}/usr/bin/
  28. include ${TOPDIR}/mk/pkg-bottom.mk