blob: ed1720a408f928ee70db81ff760ebe33d92e92b7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
include ${TOPDIR}/rules.mk
PKG_NAME:= pciutils
PKG_VERSION:= 3.1.10
PKG_RELEASE:= 1
PKG_MD5SUM:= 72ebc3624ccb43ae2ddf872b5dfdb3c9
PKG_DESCR:= PCI utilities
PKG_SECTION:= utils
PKG_DEPENDS:= zlib libgcc
PKG_BUILDDEP:= zlib
PKG_URL:= http://www.kernel.org/pub/software/utils/pciutils/
PKG_SITES:= http://www.kernel.org/pub/software/utils/pciutils/
include ${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 ${TOPDIR}/mk/pkg-bottom.mk
|