projects
/
openwrt
/
svn-archive
/
archive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
8d04663
)
Upgrade sane-backeds to 1.0.18, also install headers and libraries (#2960)
author
Florian Fainelli
<florian@openwrt.org>
Thu, 3 Jan 2008 17:27:52 +0000
(17:27 +0000)
committer
Florian Fainelli
<florian@openwrt.org>
Thu, 3 Jan 2008 17:27:52 +0000
(17:27 +0000)
SVN-Revision: 10093
utils/sane-backends/Makefile
patch
|
blob
|
history
diff --git
a/utils/sane-backends/Makefile
b/utils/sane-backends/Makefile
index 14727441726a9fe3519eae298185ef492e5434aa..540cecbf4a7da4b5e9baeaae7fde57dc2c68bffe 100644
(file)
--- a/
utils/sane-backends/Makefile
+++ b/
utils/sane-backends/Makefile
@@
-9,12
+9,12
@@
include $(TOPDIR)/rules.mk
PKG_NAME:=sane-backends
include $(TOPDIR)/rules.mk
PKG_NAME:=sane-backends
-PKG_VERSION:=1.0.1
7
+PKG_VERSION:=1.0.1
8
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)/
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)/
-PKG_MD5SUM:=
b51c10da8a81a04e1bae88c9e6556df2
+PKG_MD5SUM:=
7ca7e2908e24721471de92cf40c75e60
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
@@
-82,5
+82,12
@@
define Package/sane-libs/install
$(CP) $(PKG_INSTALL_DIR)/usr/lib/sane/libsane-*.so.* $(1)/usr/lib/sane/
endef
$(CP) $(PKG_INSTALL_DIR)/usr/lib/sane/libsane-*.so.* $(1)/usr/lib/sane/
endef
+define Build/InstallDev
+ mkdir -p $(1)/usr/include
+ $(CP) $(PKG_INSTALL_DIR)/usr/include/sane $(1)/usr/include/
+ mkdir -p $(1)/usr/lib
+ $(CP) $(PKG_INSTALL_DIR)/usr/lib/libsane.{la,so*} $(1)/usr/lib/
+endef
+
$(eval $(call BuildPackage,sane-backends))
$(eval $(call BuildPackage,sane-libs))
$(eval $(call BuildPackage,sane-backends))
$(eval $(call BuildPackage,sane-libs))