1234567891011121314151617181920212223242526272829303132333435363738 |
- # This file is part of the OpenADK project. OpenADK is copyrighted
- # material, please see the LICENCE file in the top-level directory.
- include ${ADK_TOPDIR}/rules.mk
- PKG_NAME:= bogofilter
- PKG_VERSION:= 1.2.4
- PKG_RELEASE:= 1
- PKG_MD5SUM:= 94aee3ced558c2a354547083735f2ba7
- PKG_DESCR:= mail filter software
- PKG_SECTION:= net/mail
- PKG_BUILDDEP:= db
- PKG_DEPENDS:= libdb libstdcxx
- PKG_URL:= http://bogofilter.sourceforge.net/
- PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=bogofilter/}
- PKG_BUILDDEP_UCLIBC:= libiconv-tiny
- DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
- include ${ADK_TOPDIR}/mk/package.mk
- $(eval $(call PKG_template,BOGOFILTER,bogofilter,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
- CONFIGURE_ENV+= ac_cv_func_memcmp_working=yes
- CONFIGURE_ARGS+= --without-libsqlite3-prefix \
- --without-libqdbm-prefix \
- --without-libiconv-prefix \
- --with-included-gsl \
- --disable-static \
- --with-libdb-prefix=${STAGING_TARGET_DIR}/usr \
- --disable-transactions
- bogofilter-install:
- ${INSTALL_DIR} ${IDIR_BOGOFILTER}/usr/bin
- ${INSTALL_BIN} ${WRKINST}/usr/bin/bogofilter \
- ${IDIR_BOGOFILTER}/usr/bin/
- include ${ADK_TOPDIR}/mk/pkg-bottom.mk
|