1 DESCRIPTION
= 'The PCI Utilities package contains a library
for portable access \
2 to PCI bus configuration space
and several utilities based on this library.'
3 DESCRIPTION_pciutils
-ids
= 'The list of PCI IDs
for pciutils'
4 SECTION
= "console/utils"
5 HOMEPAGE
= "http://atrey.karlin.mff.cuni.cz/~mj/pciutils.shtml"
9 SRC_URI
= "ftp://ftp.kernel.org/pub/software/utils/pciutils/pciutils-${PV}.tar.bz2 \
10 file://configure.patch \
11 file://configure-uclibc.patch \
12 file://pcimodules-pciutils.diff"
19 (cd lib
&& .
/configure $
{datadir
} $
{PV
} $
{TARGET_OS
} 2.4.21 $
{TARGET_ARCH
})
22 export PREFIX
= "${D}${prefix}"
23 export SBINDIR
= "${D}${sbindir}"
24 export SHAREDIR
= "${D}${datadir}"
25 export MANDIR
= "${D}${mandir}"
33 do_install_append
() {
34 install
-d $
{D
}/$
{prefix
}/share
35 install
-m
6440 $
{WORKDIR
}/$
{PN
}-$
{PV
}/pci.ids $
{D
}/$
{prefix
}/share
37 # The makefile does
not install the development files
:
38 # libpci.a pci.h header.h config.h types.s
39 install
-d $
{D
}/$
{libdir
}
40 install
-d $
{D
}/$
{includedir
}/pci
42 oe_libinstall
-a
-C lib libpci $
{D
}/$
{libdir
}
43 install
-m
0644 $
{S
}/lib
/pci.h $
{D
}/$
{includedir
}/pci
/
44 install
-m
0644 $
{S
}/lib
/header.h $
{D
}/$
{includedir
}/pci
/
45 install
-m
0644 $
{S
}/lib
/config.h $
{D
}/$
{includedir
}/pci
/
46 install
-m
0644 $
{S
}/lib
/types.h $
{D
}/$
{includedir
}/pci
/
50 oe_libinstall
-a
-C lib libpci $
{STAGING_LIBDIR
}
51 install
-m
0755 -d $
{STAGING_INCDIR
}/pci
52 install
-m
0644 $
{S
}/lib
/pci.h $
{STAGING_INCDIR
}/pci
/
53 install
-m
0644 $
{S
}/lib
/header.h $
{STAGING_INCDIR
}/pci
/
54 install
-m
0644 $
{S
}/lib
/config.h $
{STAGING_INCDIR
}/pci
/
55 install
-m
0644 $
{S
}/lib
/types.h $
{STAGING_INCDIR
}/pci
/
59 PACKAGES
=+ "pciutils-ids"
60 FILES_pciutils
-ids
="${prefix}/share/pci.ids"
62 SRC_URI
[md5sum
] = "10bab01d3c8856426cdf79f124fd4173"
63 SRC_URI
[sha256sum
] = "61fd2a9225aad67d4e21727a297e571ddd6a973b845646cf10b24a92b88467bc"