Created
July 3, 2018 07:15
-
-
Save novi/dd21d48d260379e8919d9490bf5cfaec to your computer and use it in GitHub Desktop.
Homebrew Formula for cmysql-mariadb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$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