mirror of
https://github.com/mistydemeo/tigerbrew.git
synced 2026-11-30 12:39:48 -05:00
Libffi formula
libffi - FFI stands for Foreign Function Interface. A foreign function interface is the popular name for the interface that allows code written in one language to call code written in another language.
This commit is contained in:
1 parent
1a0b95d28d
commit
f3c3418cbb
1 file changed
+18
@@ -0,0 +1,18 @@
|
||||
require 'brewkit'
|
||||
|
||||
class Libffi <Formula
|
||||
@url='ftp://sourceware.org/pub/libffi/libffi-3.0.8.tar.gz'
|
||||
@homepage='http://sources.redhat.com/libffi/'
|
||||
@sha1='ce44d10c39d9a37479c8777e206cac0f36c48712'
|
||||
|
||||
def patches
|
||||
host = "http://trac.macports.org"
|
||||
base = "export/57218/trunk/dports/devel/libffi/files"
|
||||
["#{host}/#{base}/patch-includedir.diff"]
|
||||
end
|
||||
|
||||
def install
|
||||
system "./configure", "--prefix=#{prefix}", "--disable-debug", "--disable-dependency-tracking"
|
||||
system "make install"
|
||||
end
|
||||
end
|
||||
Reference in new issue
Block a user