Package sane-frontends, bump release number (#4382)
git-svn-id: svn://svn.openwrt.org/openwrt/packages@13750 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
8217fca3a6
commit
fe4da6849e
@ -10,7 +10,7 @@ include $(TOPDIR)/rules.mk
|
|||||||
|
|
||||||
PKG_NAME:=sane-backends
|
PKG_NAME:=sane-backends
|
||||||
PKG_VERSION:=1.0.19
|
PKG_VERSION:=1.0.19
|
||||||
PKG_RELEASE:=1
|
PKG_RELEASE:=2
|
||||||
|
|
||||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||||
PKG_SOURCE_URL:=ftp://ftp.sane-project.org/pub/sane/$(PKG_NAME)-$(PKG_VERSION)/
|
PKG_SOURCE_URL:=ftp://ftp.sane-project.org/pub/sane/$(PKG_NAME)-$(PKG_VERSION)/
|
||||||
@ -53,6 +53,19 @@ $(call Package/sane-backends/Default/description)
|
|||||||
This package contains the SANE shared libraries.
|
This package contains the SANE shared libraries.
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
define Package/sane-frontends
|
||||||
|
$(call Package/sane-backends/Default)
|
||||||
|
SECTION:=utils
|
||||||
|
CATEGORY:=Utilities
|
||||||
|
DEPENDS:=+sane-backends
|
||||||
|
TITLE+= (frontends)
|
||||||
|
endef
|
||||||
|
|
||||||
|
define Package/sane-frontends/description
|
||||||
|
$(call Package/sane-backends/Default/description)
|
||||||
|
This package contains the SANE frontends.
|
||||||
|
endef
|
||||||
|
|
||||||
CONFIGURE_ARGS+= \
|
CONFIGURE_ARGS+= \
|
||||||
--enable-shared \
|
--enable-shared \
|
||||||
--enable-static \
|
--enable-static \
|
||||||
@ -75,7 +88,7 @@ define Package/sane-backends/install
|
|||||||
$(INSTALL_DIR) $(1)/etc/sane.d
|
$(INSTALL_DIR) $(1)/etc/sane.d
|
||||||
$(CP) $(PKG_INSTALL_DIR)/etc/sane.d/*.conf $(1)/etc/sane.d/
|
$(CP) $(PKG_INSTALL_DIR)/etc/sane.d/*.conf $(1)/etc/sane.d/
|
||||||
$(INSTALL_DIR) $(1)/usr/sbin
|
$(INSTALL_DIR) $(1)/usr/sbin
|
||||||
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/saned $(1)/usr/sbin/
|
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/* $(1)/usr/sbin/
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Package/sane-libs/install
|
define Package/sane-libs/install
|
||||||
@ -85,6 +98,11 @@ define Package/sane-libs/install
|
|||||||
$(CP) $(PKG_INSTALL_DIR)/usr/lib/sane/libsane-*.so.* $(1)/usr/lib/sane/
|
$(CP) $(PKG_INSTALL_DIR)/usr/lib/sane/libsane-*.so.* $(1)/usr/lib/sane/
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
define Package/sane-frontends/install
|
||||||
|
$(INSTALL_DIR) $(1)/usr/bin
|
||||||
|
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/* $(1)/usr/bin/
|
||||||
|
endef
|
||||||
|
|
||||||
define Build/InstallDev
|
define Build/InstallDev
|
||||||
mkdir -p $(1)/usr/include
|
mkdir -p $(1)/usr/include
|
||||||
$(CP) $(PKG_INSTALL_DIR)/usr/include/sane $(1)/usr/include/
|
$(CP) $(PKG_INSTALL_DIR)/usr/include/sane $(1)/usr/include/
|
||||||
@ -94,3 +112,4 @@ endef
|
|||||||
|
|
||||||
$(eval $(call BuildPackage,sane-backends))
|
$(eval $(call BuildPackage,sane-backends))
|
||||||
$(eval $(call BuildPackage,sane-libs))
|
$(eval $(call BuildPackage,sane-libs))
|
||||||
|
$(eval $(call BuildPackage,sane-frontends))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user