From 1b31b9821f3d97b6355b02dfd24443405fe47e77 Mon Sep 17 00:00:00 2001 From: Nicolas Thill Date: Mon, 20 Nov 2006 17:33:46 +0000 Subject: [PATCH] add dependency on sane-libs to sane-backends, don't package dev shlibs, bump release number, tidy up Makefile SVN-Revision: 5591 --- utils/sane-backends/Makefile | 40 +++++++++++++++++++++--------------- 1 file changed, 23 insertions(+), 17 deletions(-) diff --git a/utils/sane-backends/Makefile b/utils/sane-backends/Makefile index e74409199a..abccacb9fe 100644 --- a/utils/sane-backends/Makefile +++ b/utils/sane-backends/Makefile @@ -10,7 +10,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=sane-backends PKG_VERSION:=1.0.17 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=ftp://ftp.sane-project.org/pub/sane/$(PKG_NAME)-$(PKG_VERSION)/ @@ -22,28 +22,28 @@ PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install include $(INCLUDE_DIR)/package.mk +define Package/sane-backends/Default + TITLE:=Scanner Access Now Easy + DESCRIPTION:=\ + SANE (Scanner Access Now Easy) is a universal scanner interface. + URL:=http://www.sane-project.org/ +endef + define Package/sane-backends + $(call Package/sane-backends/Default) SECTION:=utils CATEGORY:=Utilities - TITLE:=Scanner Access Now Easy (backends) - DESCRIPTION:=\ - SANE (Scanner Access Now Easy) is a universal scanner interface. - URL:=http://www.sane-project.org + DEPENDS:=+sane-libs + TITLE+= (backends) 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 + $(call Package/sane-backends/Default) + SECTION:=libs + CATEGORY:=Libraries + TITLE+= (libraries) endef -define Package/sane-backends/conffiles -/etc/sane.d/saned.conf -endef - define Build/Configure $(call Build/Configure/Default, \ --disable-ipv6 \ @@ -59,6 +59,10 @@ define Build/Compile all install endef +define Package/sane-backends/conffiles +/etc/sane.d/saned.conf +endef + define Package/sane-backends/install install -d -m0755 $(1)/etc/sane.d $(CP) $(PKG_INSTALL_DIR)/etc/sane.d/*.conf $(1)/etc/sane.d/ @@ -67,8 +71,10 @@ define Package/sane-backends/install endef define Package/sane-libs/install - install -d -m0755 $(1)/usr/lib/ - $(CP) $(PKG_INSTALL_DIR)/usr/lib/* $(1)/usr/lib/ + install -d -m0755 $(1)/usr/lib + $(CP) $(PKG_INSTALL_DIR)/usr/lib/libsane.so.* $(1)/usr/lib/ + install -d -m0755 $(1)/usr/lib/sane + $(CP) $(PKG_INSTALL_DIR)/usr/lib/sane/libsane-*.so.* $(1)/usr/lib/sane/ endef $(eval $(call BuildPackage,sane-backends)) -- 2.30.2