Makefile 1.1 KB

123456789101112131415161718192021222324252627282930313233343536
  1. # This file is part of the OpenADK project. OpenADK is copyrighted
  2. # material, please see the LICENCE file in the top-level directory.
  3. include ${TOPDIR}/rules.mk
  4. PKG_NAME:= pciutils
  5. PKG_VERSION:= 3.0.3
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= d07da501bb11e6af40acd036536c2e9a
  8. PKG_DESCR:= PCI Utilities
  9. PKG_SECTION:= utils
  10. PKG_DEPENDS:= zlib
  11. PKG_BUILDDEP+= zlib
  12. PKG_URL:= http://www.kernel.org/pub/software/utils/pciutils
  13. PKG_SITES:= http://www.kernel.org/pub/software/utils/pciutils/ \
  14. ftp://atrey.karlin.mff.cuni.cz/pub/linux/pci/
  15. include ${TOPDIR}/mk/package.mk
  16. $(eval $(call PKG_template,PCIUTILS,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  17. CONFIG_STYLE:= manual
  18. INSTALL_STYLE:= manual
  19. MAKE_FLAGS+= CC="${TARGET_CC}" \
  20. CFLAGS="${TCFLAGS}" \
  21. IDSDIR="/usr/share" \
  22. HOST=${GNU_TARGET_NAME}
  23. ALL_TARGET:=
  24. do-install:
  25. ${INSTALL_DIR} ${IDIR_PCIUTILS}/usr/{share,sbin}
  26. ${INSTALL_BIN} ${WRKBUILD}/{lspci,setpci} ${IDIR_PCIUTILS}/usr/sbin/
  27. ${INSTALL_DATA} ${WRKBUILD}/pci.ids ${IDIR_PCIUTILS}/usr/share/
  28. include ${TOPDIR}/mk/pkg-bottom.mk