mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-21 22:47:56 +00:00
remove uninstalldev templates (no longer necessary)
SVN-Revision: 9906
This commit is contained in:
parent
957103c337
commit
2a45adfcda
@ -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/
|
||||
|
@ -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
|
||||
|
@ -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/
|
||||
|
@ -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
|
||||
|
@ -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/
|
||||
|
@ -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/
|
||||
|
@ -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/
|
||||
|
@ -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/
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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))
|
||||
|
@ -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
|
||||
|
@ -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/
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user