Also package SANE libraries (#940)
authorFlorian Fainelli <florian@openwrt.org>
Thu, 9 Nov 2006 13:17:02 +0000 (13:17 +0000)
committerFlorian Fainelli <florian@openwrt.org>
Thu, 9 Nov 2006 13:17:02 +0000 (13:17 +0000)
SVN-Revision: 5479

utils/sane-backends/Makefile

index e1597f88ebf05c369249949de0d3c716b31645f3..e74409199aae3bcb78b777c2b24309a83fd23811 100644 (file)
@@ -31,6 +31,15 @@ define Package/sane-backends
   URL:=http://www.sane-project.org
 endef
 
+define Package/sane-libs
+ SECTION:=libs
+ CATEGORY:=Libraries
+ TITLE:=Scanner Access Now Easy (libraries)
+ DESCRIPTION:=\
+       SANE (Scanner Access Now Easy) is a universal scanner interface.
+ URL:=http://www.sane-project.org
+endef
 define Package/sane-backends/conffiles
 /etc/sane.d/saned.conf
 endef
@@ -57,4 +66,10 @@ define Package/sane-backends/install
        $(CP) $(PKG_INSTALL_DIR)/usr/sbin/saned $(1)/usr/sbin/
 endef
 
+define Package/sane-libs/install
+       install -d -m0755 $(1)/usr/lib/
+       $(CP) $(PKG_INSTALL_DIR)/usr/lib/* $(1)/usr/lib/
+endef
+
 $(eval $(call BuildPackage,sane-backends))
+$(eval $(call BuildPackage,sane-libs))