remove uninstalldev templates (no longer necessary)
authorFelix Fietkau <nbd@openwrt.org>
Tue, 25 Dec 2007 01:40:47 +0000 (01:40 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Tue, 25 Dec 2007 01:40:47 +0000 (01:40 +0000)
SVN-Revision: 9906

16 files changed:
package/e2fsprogs/Makefile
package/fuse/Makefile
package/gmp/Makefile
package/iptables/Makefile
package/keynote/Makefile
package/libjson-c/Makefile
package/libnl/Makefile
package/libpcap/Makefile
package/linux-atm/Makefile
package/mac80211/Makefile
package/madwifi/Makefile
package/ncurses/Makefile
package/nvram/Makefile
package/openssl/Makefile
package/wireless-tools/Makefile
package/zlib/Makefile

index 0186191..f93cf4a 100644 (file)
@@ -103,13 +103,6 @@ define Build/InstallDev
                install-libs
 endef
 
-define Build/UninstallDev
-       -$(MAKE) -C $(PKG_BUILD_DIR) \
-               BUILDCC="$(HOSTCC)" \
-               DESTDIR="$(STAGING_DIR)" \
-               uninstall-libs
-endef
-
 define Package/e2fsprogs/install
        $(INSTALL_DIR) $(1)/usr/sbin
        $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/e2fsck $(1)/usr/sbin/
index 2f24922..8d280e1 100644 (file)
@@ -117,12 +117,6 @@ define Build/InstallDev
        $(SED) 's,-I$$$${includedir}/fuse,,g' $(1)/usr/lib/pkgconfig/fuse.pc
        $(SED) 's,-L$$$${libdir},,g' $(1)/usr/lib/pkgconfig/fuse.pc
 endef
-       
-define Build/UninstallDev
-       rm -rf  $(1)/usr/include/fuse{,.h} \
-               $(1)/usr/lib/libfuse.{a,so*} \
-               $(1)/usr/lib/pkgconfig/fuse.pc
-endef
 
 define Package/fuse-utils/install
        $(INSTALL_DIR) $(1)/usr/bin
index aff46a9..9915c06 100644 (file)
@@ -45,11 +45,6 @@ define Build/InstallDev
        $(CP) $(PKG_INSTALL_DIR)/usr/lib/libgmp.{a,so*} $(1)/usr/lib/
 endef
 
-define Build/UninstallDev
-       rm -rf  $(1)/usr/include/gmp* \
-               $(1)/usr/lib/libgmp.{a,so*}
-endef
-
 define Package/libgmp/install
        $(INSTALL_DIR) $(1)/usr/lib
        $(CP) $(PKG_INSTALL_DIR)/usr/lib/libgmp.so.* $(1)/usr/lib/
index 80646cd..aefc7dd 100644 (file)
@@ -235,18 +235,6 @@ define Build/InstallDev
        $(CP) $(PKG_BUILD_DIR)/libiptc/libiptc.a $(1)/usr/lib
 endef
 
-define Build/UninstallDev
-       rm -rf $(1)/usr/include/libipq.h
-       rm -rf $(1)/usr/include/libipulog
-       rm -rf $(1)/usr/include/libipq
-       rm -rf $(1)/usr/include/libiptc
-       rm -rf $(1)/usr/include/linux/netfilter*
-       rm -rf $(1)/usr/include/iptables*
-       rm -rf $(1)/usr/include/ip6tables*
-       rm -rf $(1)/usr/lib/libipq.a
-       rm -rf $(1)/usr/lib/libiptc.a
-endef
-
 define Package/iptables/install
        $(INSTALL_DIR) $(1)/etc/config
        $(INSTALL_DATA) ./files/firewall.config $(1)/etc/config/firewall
index 1aea7cb..5b27257 100644 (file)
@@ -47,11 +47,6 @@ define Build/InstallDev
        $(CP) $(PKG_BUILD_DIR)/libkeynote.a $(1)/usr/lib/
 endef
 
-define Build/UninstallDev
-       rm -rf  $(1)/usr/include/keynote \
-               $(1)/usr/lib/libkeynote.a
-endef
-
 define Package/keynote/install
        $(INSTALL_DIR) $(1)/usr/sbin
        $(INSTALL_BIN) $(PKG_BUILD_DIR)/keynote $(1)/usr/sbin/
index bcb2984..f713cc6 100644 (file)
@@ -44,12 +44,6 @@ define Build/InstallDev
        $(CP) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/json.pc $(1)/usr/lib/pkgconfig/
 endef
 
-define Build/UninstallDev
-       rm -rf  $(1)/usr/include/json \
-               $(1)/usr/lib/libjson.{a,so*} \
-               $(1)/usr/lib/pkgconfig/json.pc
-endef
-
 define Package/libjson/install
        $(INSTALL_DIR) $(1)/usr/lib
        $(CP) $(PKG_INSTALL_DIR)/usr/lib/libjson.so.* $(1)/usr/lib/
index 85a5248..3303260 100644 (file)
@@ -43,9 +43,6 @@ ifneq ($(CONFIG_LINUX_2_6_23),)
        $(CP) $(PKG_BUILD_DIR)/include/linux $(1)/usr/include/libnl/
   endef
 
-  define Build/UninstallDev
-  endef
-
   define Package/libnl/install
        $(INSTALL_DIR) $(1)/usr/lib
        $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/libnl.so.1 $(1)/usr/lib/
index bd039f9..d7956a6 100644 (file)
@@ -54,11 +54,6 @@ define Build/InstallDev
                $(1)/usr/lib/
 endef
 
-define Build/UninstallDev
-       rm -rf  $(1)/usr/include/pcap{,-bpf,-namedb}.h \
-               $(1)/usr/lib/libpcap.{a,so*}
-endef
-
 define Package/libpcap/install
        $(INSTALL_DIR) $(1)/usr/lib
        $(CP) $(PKG_INSTALL_DIR)/usr/lib/libpcap.so.* $(1)/usr/lib/
index f67294e..4f9b4f6 100644 (file)
@@ -67,11 +67,6 @@ ifneq ($(CONFIG_PACKAGE_linux-atm),)
        $(CP)   $(PKG_INSTALL_DIR)/usr/lib/libatm.{a,so*} \
                $(1)/usr/lib/
   endef
-
-  define Build/UninstallDev
-       rm -rf  $(1)/usr/include/atm{,d,sap}.h \
-               $(1)/usr/lib/libatm.{a,so*}
-  endef
 endif
 
 define Package/linux-atm/install
index 42f8ad2..723ba77 100644 (file)
@@ -63,10 +63,6 @@ ifeq ($(CONFIG_LINUX_2_6_23),y)
        $(CP) $(PKG_BUILD_DIR)/net/mac80211/*.h $(PKG_BUILD_DIR)/include/* $(1)/usr/include/mac80211/
   endef
 
-  define Build/UninstallDev
-       rm -rf  $(1)/usr/include/mac80211
-  endef
-
   define KernelPackage/mac80211/install
        $(INSTALL_DIR) $(1)/lib/wifi
        $(INSTALL_DATA) ./files/lib/wifi/mac80211.sh $(1)/lib/wifi
index 3f6be3f..3c72bc7 100644 (file)
@@ -155,10 +155,6 @@ define Build/InstallDev
        $(CP) $(PKG_BUILD_DIR)/net80211/*.h $(1)/usr/include/madwifi/net80211/
 endef
 
-define Build/UninstallDev
-       rm -rf $(1)/usr/include/madwifi
-endef
-
 define KernelPackage/madwifi/install
        $(INSTALL_DIR) $(1)/lib/wifi
        $(INSTALL_DATA) ./files/lib/wifi/madwifi.sh $(1)/lib/wifi
index 6da4299..51a5a0a 100644 (file)
@@ -155,19 +155,4 @@ define Build/InstallDev
        $(CP) $(PKG_INSTALL_DIR)/usr/lib/lib{ncurses,panel,menu,form}.{a,so*} $(1)/usr/lib/
 endef
 
-define Build/UninstallDev
-       rm -rf \
-               $(1)/usr/include/curses.h \
-               $(1)/usr/include/ncurses.h \
-               $(1)/usr/include/ncurses_dll.h \
-               $(1)/usr/include/menu.h \
-               $(1)/usr/include/panel.h \
-               $(1)/usr/include/term{,cap}.h \
-               $(1)/usr/include/unctrl.h \
-               $(1)/usr/include/form.h \
-               $(1)/usr/include/eti.h \
-               $(1)/usr/lib/libcurses.so \
-               $(1)/usr/lib/lib{ncurses,panel,menu,form}.{a,so*}
-endef
-
 $(eval $(call BuildPackage,libncurses))
index 2bcc3af..6020bfc 100644 (file)
@@ -34,10 +34,6 @@ define Build/InstallDev
        $(CP) $(PKG_BUILD_DIR)/lib{nvram,shared}*.so $(1)/usr/lib/
 endef
 
-define Build/UninstallDev
-       rm -f $(1)/usr/lib/lib{nvram,shared}*.so
-endef
-
 define Package/nvram/install
        $(INSTALL_DIR) $(1)/etc/init.d
        $(INSTALL_BIN) ./files/nvram.init $(1)/etc/init.d/nvram
index 4a6dcdb..86c584b 100644 (file)
@@ -118,12 +118,6 @@ define Build/InstallDev
        $(SED) 's,$(TARGET_LDFLAGS),,g' $(1)/usr/lib/pkgconfig/{openssl,libcrypto,libssl}.pc
 endef
 
-define Build/UninstallDev
-       rm -rf  $(1)/usr/include/openssl \
-               $(1)/usr/lib/lib{crypto,ssl}.{a,so*} \
-               $(1)/usr/lib/pkgconfig/{openssl,libcrypto,libssl}.pc
-endef
-
 define Package/libopenssl/install
        $(INSTALL_DIR) $(1)/usr/lib
        $(CP) $(PKG_INSTALL_DIR)/usr/lib/lib{crypto,ssl}.so.* $(1)/usr/lib/
index e66b2e3..79b6ee0 100644 (file)
@@ -55,11 +55,6 @@ define Build/InstallDev
        $(CP) $(PKG_BUILD_DIR)/libiw.so* $(1)/usr/lib/
        ln -sf libiw.so.$(PKG_VERSION) $(1)/usr/lib/libiw.so
 endef
-       
-define Build/UninstallDev
-       rm -f   $(1)/usr/include/{iwlib,wireless}.h \
-               $(1)/usr/lib/libiw.so*
-endef
 
 define Package/wireless-tools/install
        $(INSTALL_DIR) $(1)/usr/sbin
index 19dc3e6..9cf9219 100644 (file)
@@ -56,11 +56,6 @@ define Build/InstallDev
        $(CP)   $(PKG_INSTALL_DIR)/usr/lib/libz.{a,so*} \
                $(1)/usr/lib/
 endef
-       
-define Build/UninstallDev
-       rm -rf  $(1)/usr/include/z{conf,lib}.h \
-               $(1)/usr/lib/libz.{a,so*}
-endef
 
 # libz.so is needed for openssl (zlib-dynamic)
 define Package/zlib/install