[packages] imapfilter: update to v2.0.11
[openwrt/svn-archive/archive.git] / mail / imapfilter / Makefile
index f555e86..e1d939b 100644 (file)
@@ -1,5 +1,5 @@
 # 
-# 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.
@@ -8,12 +8,12 @@
 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
 
@@ -47,8 +47,8 @@ endef
 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