libunwind: update to 1.8.1
[openadk.git] / package / pciutils / Makefile
blob58a44a0370872eff54ef0efb8f5c6a8affcac0bd
1 # This file is part of the OpenADK project. OpenADK is copyrighted
2 # material, please see the LICENCE file in the top-level directory.
4 include $(ADK_TOPDIR)/rules.mk
6 PKG_NAME:= pciutils
7 PKG_VERSION:= 3.5.1
8 PKG_RELEASE:= 3
9 PKG_HASH:= 2bf3a4605a562fb6b8b7673bff85a474a5cf383ed7e4bd8886b4f0939013d42f
10 PKG_DESCR:= pci utilities
11 PKG_SECTION:= sys/hw
12 PKG_DEPENDS:= zlib
13 PKG_BUILDDEP:= zlib
14 PKG_URL:= http://www.kernel.org/pub/software/utils/pciutils/
15 PKG_SITES:= http://www.kernel.org/pub/software/utils/pciutils/
17 include $(ADK_TOPDIR)/mk/package.mk
19 $(eval $(call PKG_template,PCIUTILS,pciutils,$(PKG_VERSION)-$(PKG_RELEASE),$(PKG_DEPENDS),$(PKG_DESCR),$(PKG_SECTION)))
21 CONFIG_STYLE:= manual
23 MAKE_FLAGS+= CC="$(TARGET_CC)" \
24 CFLAGS="$(TARGET_CFLAGS) -fPIC" \
25 CROSS_COMPILE="$(TARGET_CROSS)" \
26 IDSDIR="/usr/share" \
27 HOST=$(GNU_TARGET_NAME)
28 ALL_TARGET:=
30 pciutils-install:
31 $(INSTALL_DIR) $(IDIR_PCIUTILS)/usr/sbin
32 $(INSTALL_DIR) $(IDIR_PCIUTILS)/usr/lib
33 $(CP) $(WRKINST)/usr/lib/libpci*.so* $(IDIR_PCIUTILS)/usr/lib
34 $(INSTALL_BIN) $(WRKINST)/usr/sbin/lspci $(IDIR_PCIUTILS)/usr/sbin
35 $(INSTALL_BIN) $(WRKINST)/usr/sbin/setpci $(IDIR_PCIUTILS)/usr/sbin
37 include $(ADK_TOPDIR)/mk/pkg-bottom.mk