mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 16:33:15 +00:00
a106e7a1d7
svn path=/nixpkgs/trunk/; revision=8047
19 lines
274 B
Bash
19 lines
274 B
Bash
source $stdenv/setup
|
|
|
|
preBuild=preBuild
|
|
preBuild() {
|
|
bunzip2 < $pciids > pci.ids
|
|
}
|
|
|
|
postInstall=postInstall
|
|
postInstall() {
|
|
ensureDir $out/lib
|
|
ensureDir $out/include/pci
|
|
cp lib/*.h $out/include/pci
|
|
cp lib/libpci.a $out/lib
|
|
}
|
|
|
|
makeFlags="PREFIX=$out"
|
|
|
|
genericBuild
|