Skip to content

Instantly share code, notes, and snippets.

@niratama
Created May 13, 2013 23:14
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save niratama/5572324 to your computer and use it in GitHub Desktop.
Save niratama/5572324 to your computer and use it in GitHub Desktop.
homebrew libpafe formula
require 'formula'
class Libpafe < Formula
homepage 'http://homepage3.nifty.com/slokar/pasori/libpafe.html'
url 'http://homepage3.nifty.com/slokar/pasori/libpafe-0.0.8.tar.gz'
sha1 'dec47ea185dd052c3e9b28cfb3494e509f7a4316'
head 'git://github.com/htrb/libpafe.git'
depends_on 'pkg-config' => :build
depends_on 'libusb'
option :universal
def install
ENV.universal_binary if build.universal?
system "./configure", "--disable-debug", "--disable-dependency-tracking", "--prefix=#{prefix}"
system "make", "install"
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment