3 include $(TOPDIR
)/rules.mk
8 PKG_MD5SUM
:=c18e2a5f04e9abae5a42439de294f086
10 PKG_SOURCE_URL
:=ftp
://atrey.karlin.mff.cuni.cz
/pub
/linux
/pci
11 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.gz
14 PKG_BUILD_DIR
:=$(BUILD_DIR
)/$(PKG_NAME
)-$(PKG_VERSION
)
15 PKG_INSTALL_DIR
:=$(PKG_BUILD_DIR
)/ipkg-install
17 include $(TOPDIR
)/package
/rules.mk
19 $(eval
$(call PKG_template
,PCIUTILS
,pciutils
,$(PKG_VERSION
)-$(PKG_RELEASE
),$(ARCH
)))
21 $(PKG_BUILD_DIR
)/.configured
:
24 $(PKG_BUILD_DIR
)/.built
:
25 $(MAKE
) -C
$(PKG_BUILD_DIR
) \
26 CC
=$(TARGET_CC
) CFLAGS
="$(TARGET_CFLAGS)" IDSDIR
="/usr/share" HOST
=$(GNU_TARGET_NAME
)
30 install -d
-m0755
$(IDIR_PCIUTILS
)/usr
/sbin
31 install -d
-m0755
$(IDIR_PCIUTILS
)/usr
/share
32 $(CP
) $(PKG_BUILD_DIR
)/{lspci
,setpci
} $(IDIR_PCIUTILS
)/usr
/sbin
/
33 $(CP
) $(PKG_BUILD_DIR
)/pci.ids
$(IDIR_PCIUTILS
)/usr
/share
/
34 $(RSTRIP
) $(IDIR_PCIUTILS
)/
35 $(IPKG_BUILD
) $(IDIR_PCIUTILS
) $(PACKAGE_DIR
)