Skip to content

Commit

Permalink
Merge pull request #175 from rstudio/add/zstd
Browse files Browse the repository at this point in the history
Add libzstd
  • Loading branch information
glin authored Sep 10, 2024
2 parents de481ac + 3dcf3e1 commit fd427d2
Showing 1 changed file with 83 additions and 0 deletions.
83 changes: 83 additions & 0 deletions rules/libzstd.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,83 @@
{
"patterns": ["\\blibzstd\\b"],
"dependencies": [
{
"packages": ["libzstd-dev"],
"constraints": [
{
"os": "linux",
"distribution": "ubuntu"
},
{
"os": "linux",
"distribution": "debian"
}
]
},
{
"pre_install": [
{
"command": "rpm -q epel-release || yum install -y epel-release"
}
],
"packages": [ "libzstd-devel" ],
"constraints": [
{
"os": "linux",
"distribution": "centos",
"versions": [ "7"]
}
]
},
{
"packages": ["libzstd-devel"],
"pre_install": [
{
"command": "rpm -q epel-release || yum install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm"
}
],
"constraints": [
{
"os": "linux",
"distribution": "redhat",
"versions": ["7"]
}
]
},
{
"packages": ["libzstd-devel"],
"constraints": [
{
"os": "linux",
"distribution": "rockylinux"
},
{
"os": "linux",
"distribution": "redhat",
"versions": [ "8", "9" ]
},
{
"os": "linux",
"distribution": "fedora"
},
{
"os": "linux",
"distribution": "opensuse"
},
{
"os": "linux",
"distribution": "sle"
}
]
},
{
"packages": ["zstd-dev"],
"constraints": [
{
"os": "linux",
"distribution": "alpine"
}
]
}
]
}

0 comments on commit fd427d2

Please sign in to comment.