update alsa, fix compile
[openwrt.git] / openwrt / package / pciutils / Makefile
index 6318344..cdf2ab0 100644 (file)
@@ -7,7 +7,8 @@ PKG_VERSION:=2.2.1
 PKG_RELEASE:=1
 PKG_MD5SUM:=c18e2a5f04e9abae5a42439de294f086
 
 PKG_RELEASE:=1
 PKG_MD5SUM:=c18e2a5f04e9abae5a42439de294f086
 
-PKG_SOURCE_URL:=ftp://atrey.karlin.mff.cuni.cz/pub/linux/pci
+PKG_SOURCE_URL:=http://www.kernel.org/pub/software/utils/pciutils/ \
+       ftp://atrey.karlin.mff.cuni.cz/pub/linux/pci
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_CAT:=zcat
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_CAT:=zcat
 
@@ -29,7 +30,7 @@ $(PKG_BUILD_DIR)/.built:
 $(IPKG_PCIUTILS):
        install -d -m0755 $(IDIR_PCIUTILS)/usr/sbin
        install -d -m0755 $(IDIR_PCIUTILS)/usr/share
 $(IPKG_PCIUTILS):
        install -d -m0755 $(IDIR_PCIUTILS)/usr/sbin
        install -d -m0755 $(IDIR_PCIUTILS)/usr/share
-       cp -fpR $(PKG_BUILD_DIR)/{lspci,setpci} $(IDIR_PCIUTILS)/usr/sbin/
-       cp -fpR $(PKG_BUILD_DIR)/pci.ids $(IDIR_PCIUTILS)/usr/share/
+       $(CP) $(PKG_BUILD_DIR)/{lspci,setpci} $(IDIR_PCIUTILS)/usr/sbin/
+       $(CP) $(PKG_BUILD_DIR)/pci.ids $(IDIR_PCIUTILS)/usr/share/
        $(RSTRIP) $(IDIR_PCIUTILS)/
        $(IPKG_BUILD) $(IDIR_PCIUTILS) $(PACKAGE_DIR)
        $(RSTRIP) $(IDIR_PCIUTILS)/
        $(IPKG_BUILD) $(IDIR_PCIUTILS) $(PACKAGE_DIR)
This page took 0.027901 seconds and 4 git commands to generate.