Skip to content

Instantly share code, notes, and snippets.

@stefanschmidt
Created May 21, 2021 23:45
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 stefanschmidt/e67abea78e947881c835a9b487516160 to your computer and use it in GitHub Desktop.
Save stefanschmidt/e67abea78e947881c835a9b487516160 to your computer and use it in GitHub Desktop.
Homebrew formula for libpff
class Libpff < Formula
desc "libpff is a library to access the Personal Folder File (PFF) and the Offline Folder File (OFF) format"
homepage "https://github.com/libyal/libpff"
license "LGPLv3+"
head "https://github.com/libyal/libpff.git", :branch => "main"
# depends_on "cmake" => :build
depends_on "gettext"
depends_on "automake"
depends_on "libtool"
def install
system "./synclibs.sh"
system "./autogen.sh"
system "./configure", "--prefix=#{prefix}"
system "make", "install"
end
test do
system "pffexport -V"
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment