#
-# Copyright (C) 2006-2010 OpenWrt.org
+# Copyright (C) 2006-2011 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
include $(TOPDIR)/rules.mk
PKG_NAME:=sane-backends
-PKG_VERSION:=1.0.20
-PKG_RELEASE:=3
+PKG_VERSION:=1.0.22
+PKG_RELEASE:=1
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
-PKG_SOURCE_URL:=ftp://ftp.sane-project.org/pub/sane/$(PKG_NAME)-$(PKG_VERSION)/
-PKG_MD5SUM:=a0cfdfdebca2feb4f2ba5d3418b15a42
+PKG_SOURCE_URL:=ftp://ftp.sane-project.org/pub/sane/$(PKG_NAME)-$(PKG_VERSION) \
+ https://alioth.debian.org/frs/download.php/3503
+PKG_MD5SUM:=fadf56a60f4776bfb24491f66b617cf5
PKG_FIXUP:=libtool
PKG_INSTALL:=1
--disable-latex \
--without-gphoto2 \
--disable-debug \
+ --without-snmp
define Build/Configure
mkdir -p $(PKG_BUILD_DIR)/backend/.libs
--- a/Makefile.in
+++ b/Makefile.in
-@@ -244,7 +244,7 @@ target_alias = @target_alias@
+@@ -293,7 +293,7 @@ target_alias = @target_alias@
top_build_prefix = @top_build_prefix@
top_builddir = @top_builddir@
top_srcdir = @top_srcdir@
-diff --git a/configure b/configure
-index cc79209..5f22d58 100755
--- a/configure
+++ b/configure
-@@ -5019,9 +5019,6 @@ else
+@@ -5070,9 +5070,6 @@ else
fi