Skip to content

EXAMPLE component_recipe - Web source - KEGS

Example: component_recipe.json - Web - KEGS

{
  "kegs": [
    {
      "source_url": "https://kegs.sourceforge.net/kegs.{VERSION}.zip",
      "source_type": "http",
      "version": "$KEGS_DESIRED_VERSION",
      "extraction_type": "archive",
      "assets": [
        {
          "type": "dir",
          "source": "kegs.1.38",
          "dest": "bin"
        },
        {
          "type": "create",
          "dest": "component_version",
          "contents": "$SOURCE_VERSION"
        },
        {
          "type": "file",
          "source": "$REPO_ROOT/$COMPONENT_NAME/component_functions.sh",
           "dest": "$COMPONENT_ARTIFACT_ROOT"
        },
        {
          "type": "file",
          "source": "$REPO_ROOT/$COMPONENT_NAME/component_launcher.sh",
           "dest": "$COMPONENT_ARTIFACT_ROOT"
        },
        {
          "type": "file",
          "source": "$REPO_ROOT/$COMPONENT_NAME/component_manifest.json",
           "dest": "$COMPONENT_ARTIFACT_ROOT"
        },
        {
          "type": "file",
          "source": "$REPO_ROOT/$COMPONENT_NAME/component_prepare.sh",
           "dest": "$COMPONENT_ARTIFACT_ROOT"
        }
      ],
      "libs": []
    }
  ]
}