#
-# Copyright (C) 2006-2008 OpenWrt.org
+# Copyright (C) 2006-2009 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
-# $Id$
include $(TOPDIR)/rules.mk
PKG_NAME:=imapfilter
-PKG_VERSION:=2.0.10
+PKG_VERSION:=2.0.11
PKG_RELEASE:=1
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
PKG_SOURCE_URL:=http://imapfilter.hellug.gr/source/
-PKG_MD5SUM:=7a82c69a71105da185cb4dd7c57b01f7
+PKG_MD5SUM:=752a895a17754666a490bd445577309d
include $(INCLUDE_DIR)/package.mk
define Build/Compile
$(MAKE) -C $(PKG_BUILD_DIR) \
$(TARGET_CONFIGURE_OPTS) \
- INCDIRS="-I$(STAGING_DIR)/usr/include -I$(STAGING_DIR)/include" \
- LIBDIRS="-L$(STAGING_DIR)/usr/lib -L$(STAGING_DIR)/lib" \
+ INCDIRS="$(TARGET_CPPFLAGS)" \
+ LIBDIRS="$(TARGET_LDFLAGS)" \
MYCFLAGS="$(TARGET_CFLAGS)" \
MYLDFLAGS="-lcrypt"
endef