Makefile 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  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.1.3
  8. PKG_RELEASE:= 1
  9. PKG_MD5SUM:= a816f509324ccb9946a4d89fefe525e1
  10. MASTER_SITES:= http://ftp.debian.org/debian/pool/main/b/bogofilter/
  11. DISTFILES:= ${PKG_NAME}_${PKG_VERSION}.orig.tar.gz
  12. include ${TOPDIR}/mk/package.mk
  13. $(eval $(call PKG_template,BOGOFILTER,bogofilter,${PKG_VERSION}-${PKG_RELEASE},${ARCH}))
  14. CONFIGURE_STYLE= gnu
  15. CONFIGURE_ENV+= ac_cv_c_bigendian=no \
  16. ac_cv_sizeof_off_t=8 \
  17. ac_cv_sizeof_int=4 \
  18. ac_cv_sizeof_long=4 \
  19. LIBS="-liconv"
  20. CONFIGURE_ARGS+= --without-libsqlite3-prefix \
  21. --without-libqdbm-prefix \
  22. --with-included-gsl \
  23. --with-libdb-prefix=${STAGING_DIR}/usr \
  24. --disable-transactions
  25. # --without-libdb-prefix
  26. BUILD_STYLE= auto
  27. INSTALL_STYLE= auto
  28. PKG_DEPENDS:= libdb libiconv
  29. post-install:
  30. echo 'Depends: ${PKG_DEPENDS}' >>${IDIR_BOGOFILTER}/CONTROL/control
  31. ${INSTALL_DIR} ${IDIR_BOGOFILTER}/usr/bin
  32. ${INSTALL_BIN} ${WRKINST}/usr/bin/${PKG_NAME} ${IDIR_BOGOFILTER}/usr/bin/
  33. ifeq (${ADK_PACKAGE_BOGOFILTER_BOGOUTIL},y)
  34. ${INSTALL_BIN} ${WRKINST}/usr/bin/bogoutil ${IDIR_BOGOFILTER}/usr/bin/
  35. endif
  36. ifeq (${ADK_PACKAGE_BOGOFILTER_BOGOTUNE},y)
  37. ${INSTALL_BIN} ${WRKINST}/usr/bin/bogotune ${IDIR_BOGOFILTER}/usr/bin/
  38. endif
  39. include ${TOPDIR}/mk/pkg-bottom.mk