mirror of
https://gitlab.redox-os.org/redox-os/redox.git
synced 2026-06-23 13:24:17 +08:00
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:
commit
7246f3e155
14
recipes/pciids/recipe.sh
Normal file
14
recipes/pciids/recipe.sh
Normal 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
|
||||
}
|
||||
9
recipes/pciids/recipe.toml
Normal file
9
recipes/pciids/recipe.toml
Normal 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/"
|
||||
"""
|
||||
Loading…
Reference in New Issue
Block a user