We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a9ac637 commit 7f4217cCopy full SHA for 7f4217c
packages/pgsodium.rb
@@ -4,11 +4,23 @@ class Pgsodium < Pgpm::Package
4
github "michelp/pgsodium"
5
6
def build_dependencies
7
- super + ["libsodium-devel >= 1.0.18"]
+ deps = case Pgpm::OS.in_scope.class.name
8
+ when "debian", "ubuntu"
9
+ ["libsodium-dev (>= 1.0.18)"]
10
+ when "rocky+epel-9", "redhat", "fedora"
11
+ ["libsodium-devel >= 1.0.18"]
12
+ end
13
+ super + deps
14
end
15
16
def dependencies
- super + ["libsodium >= 1.0.18"]
17
18
19
+ ["libsodium (>= 1.0.18)"]
20
21
+ ["libsodium >= 1.0.18"]
22
23
24
25
26
def broken?
0 commit comments