summaryrefslogtreecommitdiff
path: root/pciutils/pciutils_2.1.11.oe
blob: 8306ec79d3ea48180ef41e3f14b8298b9232afdf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
DEPENDS = "virtual/libc"
RDEPENDS = "libc6"
DESCRIPTION = 'The PCI Utilities package contains a library for portable access \
to PCI bus configuration space and several utilities based on this library.'

SRC_URI = "ftp://ftp.kernel.org/pub/software/utils/pciutils/pciutils-${PV}.tar.bz2 \
	   file://${FILESDIR}/configure.patch;patch=1"

do_configure () {
	(cd lib && ./configure ${datadir} ${PV} ${TARGET_OS} 2.4.21 ${TARGET_ARCH})
}

export PREFIX = "${D}/${prefix}"
export SBINDIR = "${D}/${sbindir}"
export SHAREDIR = "${D}/${datadir}"
export MANDIR = "${D}/${mandir}"

do_install () {
	oe_runmake install
}