-$(IPKG_LSUSB): $(PKG_BUILD_DIR)/$(PKG_NAME)
- $(SCRIPT_DIR)/make-ipkg-dir.sh $(IDIR_LSUSB) $(PKG_NAME).control $(PKG_VERSION)-$(PKG_RELEASE) $(ARCH)
- mkdir -p $(IDIR_LSUSB)/usr/share
- cp $(PKG_BUILD_DIR)/usb.ids $(IDIR_LSUSB)/usr/share/
- mkdir -p $(IDIR_LSUSB)/usr/sbin
- cp $(PKG_BUILD_DIR)/lsusb $(IDIR_LSUSB)/usr/sbin/
- $(STRIP) $(IDIR_LSUSB)/usr/sbin/*
- mkdir -p $(PACKAGE_DIR)
+$(IPKG_LSUSB):
+ install -d -m0755 $(IDIR_LSUSB)/usr/share
+ cp -fpR $(PKG_INSTALL_DIR)/usr/share/usb.ids $(IDIR_LSUSB)/usr/share/
+ install -d -m0755 $(IDIR_LSUSB)/usr/sbin
+ cp -fpR $(PKG_INSTALL_DIR)/usr/sbin/lsusb $(IDIR_LSUSB)/usr/sbin/
+ $(RSTRIP) $(IDIR_LSUSB)