123456789101112131415161718192021222324252627282930313233343536 |
- # This file is part of the OpenADK project. OpenADK is copyrighted
- # material, please see the LICENCE file in the top-level directory.
- include ${TOPDIR}/rules.mk
- PKG_NAME:= bogofilter
- PKG_VERSION:= 1.2.2
- PKG_RELEASE:= 1
- PKG_MD5SUM:= 39d27c13eae8a5064d68e20d585e60de
- PKG_DESCR:= mail filter
- PKG_SECTION:= mail
- PKG_DEPENDS:= libiconv libdb
- PKG_BUILDDEP:= libiconv libdb
- PKG_URL:= http://bogofilter.sourceforge.net/
- PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=bogofilter/}
- PKG_HOST_DEPENDS:= !darwin
- include ${TOPDIR}/mk/package.mk
- $(eval $(call PKG_template,BOGOFILTER,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
- CONFIGURE_ENV+= LIBS="-liconv" \
- ac_cv_func_memcmp_working=yes
- CONFIGURE_ARGS+= --without-libsqlite3-prefix \
- --without-libqdbm-prefix \
- --with-included-gsl \
- --with-libdb-prefix=${STAGING_DIR}/usr \
- --disable-transactions
- post-install:
- ${INSTALL_DIR} ${IDIR_BOGOFILTER}/usr/bin
- ${INSTALL_BIN} ${WRKINST}/usr/bin/bogofilter \
- ${IDIR_BOGOFILTER}/usr/bin/
- include ${TOPDIR}/mk/pkg-bottom.mk
|