diff --git a/recipes/pciids/recipe.sh b/recipes/pciids/recipe.sh new file mode 100644 index 0000000000000000000000000000000000000000..2e1c48bf352f359ccc878ccb02a307f79dc99a58 --- /dev/null +++ b/recipes/pciids/recipe.sh @@ -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 +} diff --git a/recipes/pciids/recipe.toml b/recipes/pciids/recipe.toml new file mode 100644 index 0000000000000000000000000000000000000000..dfacfc5095c0b4b3e25c35d6662fcb0ded7a51d1 --- /dev/null +++ b/recipes/pciids/recipe.toml @@ -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/" +"""