X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/2dedb4bd9289a637f8df2a1f544e6ccc6041ccb3..0bcdd9dc8f86293cb81b4f69a0f3b75fd95ccdb1:/package/usbutils/Makefile diff --git a/package/usbutils/Makefile b/package/usbutils/Makefile index 84502e66a..5ce35bcfb 100644 --- a/package/usbutils/Makefile +++ b/package/usbutils/Makefile @@ -3,9 +3,9 @@ include $(TOPDIR)/rules.mk PKG_NAME:=usbutils -PKG_VERSION:=0.70 +PKG_VERSION:=0.71 PKG_RELEASE:=1 -PKG_MD5SUM:=05276dc307a0297904bc892e9998bf59 +PKG_MD5SUM:=479d7c7098ef44cc95e7978fd71c712c PKG_SOURCE_URL:=@SF/linux-usb PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz @@ -48,20 +48,20 @@ $(PKG_BUILD_DIR)/.configured: --enable-shared \ --disable-static \ ); - touch $(PKG_BUILD_DIR)/.configured + touch $@ $(PKG_BUILD_DIR)/.built: - $(MAKE) -C $(PKG_BUILD_DIR) + rm -rf $(PKG_INSTALL_DIR) mkdir -p $(PKG_INSTALL_DIR) $(MAKE) -C $(PKG_BUILD_DIR) \ DESTDIR="$(PKG_INSTALL_DIR)" \ - install - touch $(PKG_BUILD_DIR)/.built + all install + touch $@ $(IPKG_LSUSB): install -d -m0755 $(IDIR_LSUSB)/usr/share - cp -fpR $(PKG_INSTALL_DIR)/usr/share/usb.ids $(IDIR_LSUSB)/usr/share/ + $(CP) $(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/ + $(CP) $(PKG_INSTALL_DIR)/usr/sbin/lsusb $(IDIR_LSUSB)/usr/sbin/ $(RSTRIP) $(IDIR_LSUSB) $(IPKG_BUILD) $(IDIR_LSUSB) $(PACKAGE_DIR)