From eed09a4d95142ffacab2683fab2db37a654fffcd Mon Sep 17 00:00:00 2001 From: jow Date: Fri, 19 Aug 2011 23:35:30 +0000 Subject: [PATCH] [packages] hplib: ship SANE configuration (#9964) git-svn-id: svn://svn.openwrt.org/openwrt/packages@28055 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- utils/hplip/Makefile | 7 +++++-- utils/hplip/files/hplib.conf | 2 ++ 2 files changed, 7 insertions(+), 2 deletions(-) create mode 100644 utils/hplip/files/hplib.conf diff --git a/utils/hplip/Makefile b/utils/hplip/Makefile index 15e6aa775..5df59c752 100644 --- a/utils/hplip/Makefile +++ b/utils/hplip/Makefile @@ -1,5 +1,5 @@ # -# 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. @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=hplip PKG_VERSION:=3.9.12 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=@SF/hplip @@ -68,6 +68,9 @@ define Package/hplip/install $(INSTALL_DIR) $(1)/etc/hotplug.d/usb/ $(INSTALL_BIN) ./files/20-hplip $(1)/etc/hotplug.d/usb/ + + $(INSTALL_DIR) $(1)/etc/sane.d/dll.d/ + $(INSTALL_DATA) ./files/hplib.conf $(1)/etc/sane.d/dll.d/hplib endef $(eval $(call BuildPackage,hplip)) diff --git a/utils/hplip/files/hplib.conf b/utils/hplip/files/hplib.conf new file mode 100644 index 000000000..d67d37053 --- /dev/null +++ b/utils/hplip/files/hplib.conf @@ -0,0 +1,2 @@ +# Load the hplib driver +hpaio -- 2.11.0