Makefile 1.0 KB

1234567891011121314151617181920212223242526272829303132
  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:= sys
  10. PKG_URL:= http://www.kernel.org/pub/software/utils/pciutils
  11. PKG_SITES:= http://www.kernel.org/pub/software/utils/pciutils/ \
  12. ftp://atrey.karlin.mff.cuni.cz/pub/linux/pci/
  13. include ${TOPDIR}/mk/package.mk
  14. $(eval $(call PKG_template,PCIUTILS,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  15. BUILD_STYLE:= auto
  16. MAKE_FLAGS+= CC="${TARGET_CC}" \
  17. CFLAGS="${TCFLAGS}" \
  18. IDSDIR="/usr/share" \
  19. HOST=${GNU_TARGET_NAME}
  20. ALL_TARGET:=
  21. do-install:
  22. ${INSTALL_DIR} ${IDIR_PCIUTILS}/usr/{share,sbin}
  23. ${INSTALL_BIN} ${WRKBUILD}/{lspci,setpci} ${IDIR_PCIUTILS}/usr/sbin/
  24. ${INSTALL_DATA} ${WRKBUILD}/pci.ids ${IDIR_PCIUTILS}/usr/share/
  25. include ${TOPDIR}/mk/pkg-bottom.mk