1
0

Makefile 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  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_BUILDDEP+= libiconv libdb
  8. PKG_MD5SUM:= 4bbc9adc30d4f8e3a547f9be18a1cb74
  9. PKG_DESCR:= mail filter
  10. PKG_SECTION:= mail
  11. PKG_DEPENDS:= libdb libiconv
  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. ifeq (${ADK_PACKAGE_BOGOFILTER_BOGOUTIL},y)
  29. ${INSTALL_BIN} ${WRKINST}/usr/bin/bogoutil ${IDIR_BOGOFILTER}/usr/bin/
  30. endif
  31. ifeq (${ADK_PACKAGE_BOGOFILTER_BOGOTUNE},y)
  32. ${INSTALL_BIN} ${WRKINST}/usr/bin/bogotune ${IDIR_BOGOFILTER}/usr/bin/
  33. endif
  34. include ${TOPDIR}/mk/pkg-bottom.mk