soci: fix audit
soci: * `option` (line 17) should be put before `depends_on` (line 15) * http://soci.sourceforge.net/ should be `https://soci.sourceforge.io/`
This commit is contained in:
parent
a31eda9395
commit
d077a6ed9d
1 changed files with 5 additions and 5 deletions
|
@ -1,6 +1,6 @@
|
|||
class Soci < Formula
|
||||
desc "Database access library for C++"
|
||||
homepage "http://soci.sourceforge.net/"
|
||||
homepage "https://soci.sourceforge.io/"
|
||||
url "https://download.sourceforge.net/project/soci/soci/soci-3.2.3/soci-3.2.3.zip"
|
||||
sha256 "ab0f82873b0c5620e0e8eb2ff89abad6517571fd63bae4bdcac64dd767ac9a05"
|
||||
|
||||
|
@ -10,16 +10,16 @@ class Soci < Formula
|
|||
sha256 "b802ee253ceb25ebfd2b5a90ef4dc8b229a90c7b1cae1a33533c9bd2ff9e7d50" => :yosemite
|
||||
end
|
||||
|
||||
depends_on "cmake" => :build
|
||||
depends_on "boost" => [:build, :optional]
|
||||
depends_on "sqlite" if MacOS.version <= :snow_leopard
|
||||
|
||||
option "with-oracle", "Enable Oracle support."
|
||||
option "with-boost", "Enable boost support."
|
||||
option "with-mysql", "Enable MySQL support."
|
||||
option "with-odbc", "Enable ODBC support."
|
||||
option "with-pg", "Enable PostgreSQL support."
|
||||
|
||||
depends_on "cmake" => :build
|
||||
depends_on "boost" => [:build, :optional]
|
||||
depends_on "sqlite" if MacOS.version <= :snow_leopard
|
||||
|
||||
def translate(a)
|
||||
a == "pg" ? "postgresql" : a
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue