Merge branch 'add_pciids_db' into 'master'

Add recipe for the pci.ids db.

See merge request redox-os/cookbook!242
This commit is contained in:
Jeremy Soller 2020-07-19 12:35:23 +00:00
commit 7246f3e155
2 changed files with 23 additions and 0 deletions

14
recipes/pciids/recipe.sh Normal file
View File

@ -0,0 +1,14 @@
GIT=https://github.com/pciutils/pciids.git
function recipe_build {
skip=1
}
function recipe_stage {
dest="$(realpath $1)"
install -d "${dest}/share/misc/"
install pci.ids "${dest}/share/misc/"
skip=1
}

View File

@ -0,0 +1,9 @@
[source]
git = "https://github.com/pciutils/pciids.git"
[build]
template = "custom"
script = """
install -d "${COOKBOOK_STAGE}/share/misc/"
install "${COOKBOOK_BUILD}"/pci.ids "${COOKBOOK_STAGE}/share/misc/"
"""