Skip to content

Commit

Permalink
Merge pull request #200 from rstudio/rule/libbz2
Browse files Browse the repository at this point in the history
Add libbz2 and liblzma
  • Loading branch information
glin authored Jan 6, 2025
2 parents ad9b6a4 + fbae4c6 commit 68aeade
Show file tree
Hide file tree
Showing 2 changed files with 122 additions and 0 deletions.
61 changes: 61 additions & 0 deletions rules/libbz2.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
{
"patterns": ["\\blibbz2\\b"],
"dependencies": [
{
"packages": ["libbz2-dev"],
"constraints": [
{
"os": "linux",
"distribution": "ubuntu"
},
{
"os": "linux",
"distribution": "debian"
}
]
},
{
"packages": ["bzip2-devel"],
"constraints": [
{
"os": "linux",
"distribution": "centos"
},
{
"os": "linux",
"distribution": "rockylinux"
},
{
"os": "linux",
"distribution": "redhat"
},
{
"os": "linux",
"distribution": "fedora"
}
]
},
{
"packages": ["libbz2-devel"],
"constraints": [
{
"os": "linux",
"distribution": "opensuse"
},
{
"os": "linux",
"distribution": "sle"
}
]
},
{
"packages": ["bzip2-dev"],
"constraints": [
{
"os": "linux",
"distribution": "alpine"
}
]
}
]
}
61 changes: 61 additions & 0 deletions rules/liblzma.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
{
"patterns": ["\\bliblzma\\b"],
"dependencies": [
{
"packages": ["liblzma-dev"],
"constraints": [
{
"os": "linux",
"distribution": "ubuntu"
},
{
"os": "linux",
"distribution": "debian"
}
]
},
{
"packages": ["xz-devel"],
"constraints": [
{
"os": "linux",
"distribution": "centos"
},
{
"os": "linux",
"distribution": "rockylinux"
},
{
"os": "linux",
"distribution": "redhat"
},
{
"os": "linux",
"distribution": "fedora"
}
]
},
{
"packages": ["xz-devel"],
"constraints": [
{
"os": "linux",
"distribution": "opensuse"
},
{
"os": "linux",
"distribution": "sle"
}
]
},
{
"packages": ["xz-dev"],
"constraints": [
{
"os": "linux",
"distribution": "alpine"
}
]
}
]
}

0 comments on commit 68aeade

Please sign in to comment.