Makefile 1.0 KB

123456789101112131415161718192021222324252627282930313233
  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_BUILDDEP+= zlib
  8. PKG_MD5SUM:= d07da501bb11e6af40acd036536c2e9a
  9. PKG_DESCR:= PCI Utilities
  10. PKG_SECTION:= sys
  11. PKG_URL:= http://www.kernel.org/pub/software/utils/pciutils
  12. PKG_SITES:= http://www.kernel.org/pub/software/utils/pciutils/ \
  13. ftp://atrey.karlin.mff.cuni.cz/pub/linux/pci/
  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. BUILD_STYLE:= auto
  17. MAKE_FLAGS+= CC="${TARGET_CC}" \
  18. CFLAGS="${TCFLAGS}" \
  19. IDSDIR="/usr/share" \
  20. HOST=${GNU_TARGET_NAME}
  21. ALL_TARGET:=
  22. do-install:
  23. ${INSTALL_DIR} ${IDIR_PCIUTILS}/usr/{share,sbin}
  24. ${INSTALL_BIN} ${WRKBUILD}/{lspci,setpci} ${IDIR_PCIUTILS}/usr/sbin/
  25. ${INSTALL_DATA} ${WRKBUILD}/pci.ids ${IDIR_PCIUTILS}/usr/share/
  26. include ${TOPDIR}/mk/pkg-bottom.mk