Makefile 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. # $Id$
  2. #-
  3. # This file is part of the OpenADK project. OpenADK is copyrighted
  4. # material, please see the LICENCE file in the top-level directory.
  5. include ${TOPDIR}/rules.mk
  6. PKG_NAME:= bogofilter
  7. PKG_VERSION:= 1.2.0
  8. PKG_RELEASE:= 1
  9. PKG_MD5SUM:= 4bbc9adc30d4f8e3a547f9be18a1cb74
  10. PKG_DESCR:= mail filter
  11. PKG_SECTION:= mail
  12. PKG_DEPENDS:= libdb libiconv
  13. PKG_URL:= http://bogofilter.sourceforge.net/
  14. PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=bogofilter/}
  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_STYLE= autotool gnu
  18. CONFIGURE_ENV+= LIBS="-liconv"
  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. BUILD_STYLE= auto
  25. INSTALL_STYLE= auto
  26. post-install:
  27. ${INSTALL_DIR} ${IDIR_BOGOFILTER}/usr/bin
  28. ${INSTALL_BIN} ${WRKINST}/usr/bin/${PKG_NAME} ${IDIR_BOGOFILTER}/usr/bin/
  29. ifeq (${ADK_PACKAGE_BOGOFILTER_BOGOUTIL},y)
  30. ${INSTALL_BIN} ${WRKINST}/usr/bin/bogoutil ${IDIR_BOGOFILTER}/usr/bin/
  31. endif
  32. ifeq (${ADK_PACKAGE_BOGOFILTER_BOGOTUNE},y)
  33. ${INSTALL_BIN} ${WRKINST}/usr/bin/bogotune ${IDIR_BOGOFILTER}/usr/bin/
  34. endif
  35. include ${TOPDIR}/mk/pkg-bottom.mk