Makefile 888 B

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