summaryrefslogtreecommitdiff
path: root/package/bogofilter/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2009-12-24 12:02:33 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2009-12-24 12:02:33 +0100
commitb3259201a158cb1a571c2a3b2976fbd7b95a4b80 (patch)
treed1bf8edcf012880df29e52bf326b96c18c624dab /package/bogofilter/Makefile
parent0c0ed379d9f34a2d085d9ebf7accf63d48684439 (diff)
parent537a2c4eaa446e52c6ba07007eb9ae75998b5580 (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'package/bogofilter/Makefile')
-rw-r--r--package/bogofilter/Makefile15
1 files changed, 5 insertions, 10 deletions
diff --git a/package/bogofilter/Makefile b/package/bogofilter/Makefile
index dc7bb574c..c4458cb31 100644
--- a/package/bogofilter/Makefile
+++ b/package/bogofilter/Makefile
@@ -9,7 +9,8 @@ PKG_RELEASE:= 1
PKG_MD5SUM:= 4bbc9adc30d4f8e3a547f9be18a1cb74
PKG_DESCR:= mail filter
PKG_SECTION:= mail
-PKG_DEPENDS:= libdb libiconv
+PKG_DEPENDS:= libiconv libdb
+PKG_BUILDDEP+= libiconv libdb
PKG_URL:= http://bogofilter.sourceforge.net/
PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=bogofilter/}
@@ -17,24 +18,18 @@ include ${TOPDIR}/mk/package.mk
$(eval $(call PKG_template,BOGOFILTER,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
-CONFIGURE_STYLE= autotool gnu
+CONFIGURE_STYLE:= autotool gnu
CONFIGURE_ENV+= LIBS="-liconv"
CONFIGURE_ARGS+= --without-libsqlite3-prefix \
--without-libqdbm-prefix \
--with-included-gsl \
--with-libdb-prefix=${STAGING_DIR}/usr \
--disable-transactions
-BUILD_STYLE= auto
-INSTALL_STYLE= auto
+BUILD_STYLE:= auto
+INSTALL_STYLE:= auto
post-install:
${INSTALL_DIR} ${IDIR_BOGOFILTER}/usr/bin
${INSTALL_BIN} ${WRKINST}/usr/bin/${PKG_NAME} ${IDIR_BOGOFILTER}/usr/bin/
-ifeq (${ADK_PACKAGE_BOGOFILTER_BOGOUTIL},y)
- ${INSTALL_BIN} ${WRKINST}/usr/bin/bogoutil ${IDIR_BOGOFILTER}/usr/bin/
-endif
-ifeq (${ADK_PACKAGE_BOGOFILTER_BOGOTUNE},y)
- ${INSTALL_BIN} ${WRKINST}/usr/bin/bogotune ${IDIR_BOGOFILTER}/usr/bin/
-endif
include ${TOPDIR}/mk/pkg-bottom.mk