From: Nicolas Thill Date: Mon, 20 Nov 2006 17:33:46 +0000 (+0000) Subject: add dependency on sane-libs to sane-backends, don't package dev shlibs, bump release... X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=eeb3d29a8bffd9664222c8049e05bf22e10fe827;p=openwrt%2Fsvn-archive%2Fpackages.git add dependency on sane-libs to sane-backends, don't package dev shlibs, bump release number, tidy up Makefile SVN-Revision: 5591 --- diff --git a/utils/sane-backends/Makefile b/utils/sane-backends/Makefile index e74409199..abccacb9f 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))