2005-12-23 16:03:01 +01:00
|
|
|
source $stdenv/setup
|
|
|
|
|
2007-02-26 13:07:46 +01:00
|
|
|
preBuild=preBuild
|
|
|
|
preBuild() {
|
|
|
|
bunzip2 < $pciids > pci.ids
|
|
|
|
}
|
|
|
|
|
2007-02-19 21:18:20 +01:00
|
|
|
postInstall=postInstall
|
2005-12-23 16:03:01 +01:00
|
|
|
postInstall() {
|
|
|
|
ensureDir $out/lib
|
2005-12-23 16:14:56 +01:00
|
|
|
ensureDir $out/include/pci
|
|
|
|
cp lib/*.h $out/include/pci
|
2005-12-23 16:03:01 +01:00
|
|
|
cp lib/libpci.a $out/lib
|
|
|
|
}
|
|
|
|
|
2007-02-19 21:18:20 +01:00
|
|
|
makeFlags="PREFIX=$out"
|
2005-12-23 16:03:01 +01:00
|
|
|
|
|
|
|
genericBuild
|