Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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