Changeset 9965


Ignore:
Timestamp:
2007-12-27T21:00:57+01:00 (8 years ago)
Author:
olli
Message:

[Packages] utils/pciutils:

  • Update 2.2.1 > 2.2.9
  • Cleanup Makefile
File:
1 edited

Legend:

Unmodified
Added
Removed
  • packages/utils/pciutils/Makefile

    r9907 r9965  
    1 #  
    2 # Copyright (C) 2006 OpenWrt.org 
     1# 
     2# Copyright (C) 2007 OpenWrt.org 
    33# 
    44# This is free software, licensed under the GNU General Public License v2. 
     
    1010 
    1111PKG_NAME:=pciutils 
    12 PKG_VERSION:=2.2.1 
     12PKG_VERSION:=2.2.9 
    1313PKG_RELEASE:=1 
    1414 
    15 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz 
     15PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 
    1616PKG_SOURCE_URL:=http://www.kernel.org/pub/software/utils/pciutils/ \ 
    1717        ftp://atrey.karlin.mff.cuni.cz/pub/linux/pci 
    18 PKG_MD5SUM:=c18e2a5f04e9abae5a42439de294f086 
    19  
    20 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION) 
     18PKG_MD5SUM:=cec05e7785497c5e19da2f114b934ffd 
    2119 
    2220include $(INCLUDE_DIR)/package.mk 
     
    2624  CATEGORY:=Utilities 
    2725  TITLE:=Linux PCI Utilities 
    28   URL:=http://www.kernel.org/pub/software/utils/pciutils/ 
     26  URL:=http://mj.ucw.cz/pciutils.shtml 
    2927endef 
    3028 
    3129define Package/pciutils/description 
    32         This package contains various utilities for inspecting and setting of  
     30        This package contains various utilities for inspecting and setting of 
    3331        devices connected to the PCI bus. 
    3432endef 
     
    3937endef 
    4038 
    41 define Build/Configure 
    42 endef 
    43  
    44 define Build/Compile 
    45         $(call Build/Compile/Default, \ 
    46                 CFLAGS="$(TARGET_CFLAGS)" \ 
    47                 IDSDIR="/usr/share" \ 
    48                 HOST="$(GNU_TARGET_NAME)" \ 
    49         ) 
    50 endef 
     39MAKE_FLAGS += \ 
     40        CFLAGS="$(TARGET_CFLAGS)" \ 
     41        IDSDIR="/usr/share" \ 
     42        HOST="$(GNU_TARGET_NAME)" \ 
     43        ZLIB="no" \ 
    5144 
    5245define Build/InstallDev 
     
    5447        $(CP) $(PKG_BUILD_DIR)/lib/libpci.a $(1)/usr/lib 
    5548        $(INSTALL_DIR) $(1)/usr/include/pci 
    56         $(CP) $(PKG_BUILD_DIR)/lib/pci.h $(1)/usr/include/pci 
    57         $(CP) $(PKG_BUILD_DIR)/lib/config.h $(1)/usr/include/pci 
    58         $(CP) $(PKG_BUILD_DIR)/lib/header.h $(1)/usr/include/pci 
    59         $(CP) $(PKG_BUILD_DIR)/lib/types.h $(1)/usr/include/pci 
     49        $(CP) $(foreach i,pci.h config.h header.h types.h, \ 
     50                $(PKG_BUILD_DIR)/lib/$(i)) $(1)/usr/include/pci 
    6051endef 
    6152 
Note: See TracChangeset for help on using the changeset viewer.