12345678910111213141516171819202122232425262728293031323334353637 |
- # This file is part of the OpenADK project. OpenADK is copyrighted
- # material, please see the LICENCE file in the top-level directory.
- include ${ADK_TOPDIR}/rules.mk
- PKG_NAME:= pciutils
- PKG_VERSION:= 3.3.0
- PKG_RELEASE:= 1
- PKG_HASH:= 413395d4bdc66fdedd6c993ed9083d1dd73812bf2a679d320f73de35c7801301
- PKG_DESCR:= pci utilities (lspci/setpci)
- PKG_SECTION:= sys/hw
- PKG_DEPENDS:= zlib
- PKG_BUILDDEP:= zlib
- PKG_URL:= http://www.kernel.org/pub/software/utils/pciutils/
- PKG_SITES:= http://www.kernel.org/pub/software/utils/pciutils/
- PKG_BB:= 1
- include ${ADK_TOPDIR}/mk/package.mk
- $(eval $(call PKG_template,PCIUTILS,pciutils,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
- CONFIG_STYLE:= manual
- INSTALL_STYLE:= manual
- MAKE_FLAGS+= CC="${TARGET_CC}" \
- CFLAGS="${TARGET_CFLAGS}" \
- CROSS_COMPILE="${TARGET_CROSS}" \
- IDSDIR="/usr/share" \
- HOST=${GNU_TARGET_NAME}
- ALL_TARGET:=
- do-install:
- ${INSTALL_DIR} ${IDIR_PCIUTILS}/usr/{share,bin}
- ${INSTALL_BIN} ${WRKBUILD}/{lspci,setpci} ${IDIR_PCIUTILS}/usr/bin
- ${INSTALL_DATA} ${WRKBUILD}/pci.ids ${IDIR_PCIUTILS}/usr/share
- include ${ADK_TOPDIR}/mk/pkg-bottom.mk
|