Package shared libraries (#2454)
authorflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Mon, 8 Oct 2007 09:00:24 +0000 (09:00 +0000)
committerflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Mon, 8 Oct 2007 09:00:24 +0000 (09:00 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/packages@9187 3c298f89-4303-0410-b956-a3cf2f4a3e73

net/bind/Makefile

index b978d66..86bc1d3 100644 (file)
@@ -33,6 +33,11 @@ define Package/bind/Default
   URL:=http://www.isc.org/sw/bind/
 endef
 
+define Package/bind-libs
+  $(call Package/bind/Default)
+  TITLE+= shared libraries
+endef
+
 define Package/bind-server
   $(call Package/bind/Default)
   TITLE+= DNS server
@@ -101,6 +106,11 @@ define Build/Compile
                all install
 endef
 
+define Package/bind-libs/install
+       $(INSTALL_DIR) $(1)/usr/lib
+       $(CP) $(PKG_INSTALL_DIR)/usr/lib/*.so* $(1)/usr/lib
+endef
+
 define Package/bind-server/install
        $(INSTALL_DIR) $(1)/usr/sbin
        $(CP) $(PKG_INSTALL_DIR)/usr/sbin/named $(1)/usr/sbin/
@@ -157,6 +167,7 @@ define Package/bind-dig/install
        $(CP) $(PKG_INSTALL_DIR)/usr/bin/dig $(1)/usr/bin/
 endef
 
+$(eval $(call BuildPackage,bind-libs))
 $(eval $(call BuildPackage,bind-server))
 $(eval $(call BuildPackage,bind-client))
 $(eval $(call BuildPackage,bind-tools))