Created
May 13, 2013 23:14
-
-
Save niratama/5572324 to your computer and use it in GitHub Desktop.
homebrew libpafe formula
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
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