imgtec-ci20: genimage config/ u-boot env
[openadk.git] / package / bogofilter / Makefile
blob1050952ccf1d5d286eee396b64aea8ec670500f1
1 # This file is part of the OpenADK project. OpenADK is copyrighted
2 # material, please see the LICENCE file in the top-level directory.
4 include ${ADK_TOPDIR}/rules.mk
6 PKG_NAME:= bogofilter
7 PKG_VERSION:= 1.2.4
8 PKG_RELEASE:= 1
9 PKG_HASH:= d2f2598d1300307209b7b1905cc0637d2d053c0a4701a8d44383867299578471
10 PKG_DESCR:= mail filter software
11 PKG_SECTION:= net/mail
12 PKG_BUILDDEP:= db
13 PKG_DEPENDS:= libdb
14 PKG_NEEDS:= c++
15 PKG_URL:= http://bogofilter.sourceforge.net/
16 PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=bogofilter/}
18 DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
20 include ${ADK_TOPDIR}/mk/package.mk
22 $(eval $(call PKG_template,BOGOFILTER,bogofilter,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
24 CONFIGURE_ENV+= ac_cv_func_memcmp_working=yes
25 CONFIGURE_ARGS+= --without-libsqlite3-prefix \
26 --without-libqdbm-prefix \
27 --without-libiconv-prefix \
28 --with-included-gsl \
29 --disable-static \
30 --with-libdb-prefix=${STAGING_TARGET_DIR}/usr \
31 --disable-transactions
33 bogofilter-install:
34 ${INSTALL_DIR} ${IDIR_BOGOFILTER}/usr/bin
35 ${INSTALL_BIN} ${WRKINST}/usr/bin/bogofilter \
36 ${IDIR_BOGOFILTER}/usr/bin/
38 include ${ADK_TOPDIR}/mk/pkg-bottom.mk