update avahi to v0.6.10.
[openwrt.git] / openwrt / package / usbutils / Makefile
index 84502e6..5ce35bc 100644 (file)
@@ -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)
This page took 0.021646 seconds and 4 git commands to generate.