Skip to content

Instantly share code, notes, and snippets.

@novi
Created July 3, 2018 07:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save novi/dd21d48d260379e8919d9490bf5cfaec to your computer and use it in GitHub Desktop.
Save novi/dd21d48d260379e8919d9490bf5cfaec to your computer and use it in GitHub Desktop.
Homebrew Formula for cmysql-mariadb
$version = "2.1.0"
$hash = "3c8402e3cd8d0690638c41afd35ae1ee4fc9e3cd5b7010a39a917630333c40ae"
class Cmysqlmariadb < Formula
homepage "https://github.com/novi"
url "https://github.com/novi/cmysql-mariadb/archive/#{$version}.tar.gz"
sha256 $hash
version $version
depends_on "pkg-config"
depends_on "mariadb"
def install
system "mkdir pkgconfig"
system "mv macos.pc pkgconfig/cmysql.pc"
lib.install "pkgconfig"
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment