add librrd_th installation, needed for ntop
authorTim Yardley <lst@openwrt.org>
Tue, 23 Oct 2007 19:06:17 +0000 (19:06 +0000)
committerTim Yardley <lst@openwrt.org>
Tue, 23 Oct 2007 19:06:17 +0000 (19:06 +0000)
SVN-Revision: 9420

utils/rrdtool/Makefile

index 20f86797120765f4f2c8a967abac5bab8fadab36..a376aeaa28a3f121625a78aaf3de3efb3b46f64a 100644 (file)
@@ -102,22 +102,25 @@ define Build/InstallDev
        $(CP) $(PKG_INSTALL_DIR)/usr/include/rrd.h $(1)/usr/include/
        mkdir -p $(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/
 endef
 
 define Build/UninstallDev
        rm -rf  $(STAGING_DIR)/usr/include/rrd.h \
-               $(STAGING_DIR)/usr/lib/librrd.{a,so*} 
+               $(STAGING_DIR)/usr/lib/librrd.{a,so*} \
+               $(STAGING_DIR)/usr/lib/librrd_th.{a,so*}
 endef
 
-define Package/librrd/install  
+define Package/librrd/install
        $(INSTALL_DIR) $(1)/usr/lib
        $(CP) $(PKG_INSTALL_DIR)/usr/lib/librrd.so.* $(1)/usr/lib/
+       $(CP) $(PKG_INSTALL_DIR)/usr/lib/librrd_th.so.* $(1)/usr/lib/
        $(INSTALL_DIR) $(1)/usr/share/rrdtool/fonts
        $(CP) $(PKG_BUILD_DIR)/src/DejaVuSansMono-Roman.ttf \
                $(1)/usr/share/rrdtool/fonts/
 endef
 
-define Package/rrdcgi/install  
+define Package/rrdcgi/install
        $(INSTALL_DIR) $(1)/usr/bin
        $(CP) $(PKG_INSTALL_DIR)/usr/bin/rrdcgi $(1)/usr/bin/
 endef