1
0

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.1.7
  6. PKG_RELEASE:= 3
  7. PKG_MD5SUM:= f3e349d22a3714b4272b171649ad5235
  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. include ${TOPDIR}/mk/package.mk
  15. $(eval $(call PKG_template,PCIUTILS,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  16. CONFIG_STYLE:= manual
  17. INSTALL_STYLE:= manual
  18. MAKE_FLAGS+= CC="${TARGET_CC}" \
  19. CFLAGS="${TARGET_CFLAGS}" \
  20. CROSS_COMPILE="${TARGET_CROSS}" \
  21. IDSDIR="/usr/share" \
  22. HOST=${GNU_TARGET_NAME}
  23. ALL_TARGET:=
  24. do-install:
  25. ${INSTALL_DIR} ${IDIR_PCIUTILS}/usr/{share,bin}
  26. ${INSTALL_BIN} ${WRKBUILD}/{lspci,setpci} ${IDIR_PCIUTILS}/usr/bin
  27. ${INSTALL_DATA} ${WRKBUILD}/pci.ids ${IDIR_PCIUTILS}/usr/share
  28. include ${TOPDIR}/mk/pkg-bottom.mk