[packages] rrdtool: move dev headers & libraries out the way, so that they don't interfere with rrdtool-1.0.x (fix wrong detection in collectd)

git-svn-id: svn://svn.openwrt.org/openwrt/packages@18912 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
nico 2009-12-24 03:19:28 +00:00
parent 57e88a4c39
commit 065dc95001

View File

@ -100,11 +100,10 @@ define Build/Compile
endef
define Build/InstallDev
$(INSTALL_DIR) $(1)/usr/include
$(CP) $(PKG_INSTALL_DIR)/usr/include/rrd.h $(1)/usr/include/
$(INSTALL_DIR) $(1)/usr/lib
$(CP) $(PKG_INSTALL_DIR)/usr/lib/librrd.{a,so*} $(1)/usr/lib/
$(CP) $(PKG_INSTALL_DIR)/usr/lib/librrd_th.{a,so*} $(1)/usr/lib/
$(INSTALL_DIR) $(1)/usr/lib/rrdtool-1.2/include
$(CP) $(PKG_INSTALL_DIR)/usr/include/rrd.h $(1)/usr/lib/rrdtool-1.2/include/
$(INSTALL_DIR) $(1)/usr/lib/rrdtool-1.2/lib
$(CP) $(PKG_INSTALL_DIR)/usr/lib/librrd{,_th}.{a,so*} $(1)/usr/lib/rrdtool-1.2/lib/
endef
define Package/librrd/install