diff --git a/lib/rbpkg/repos/c3.rb b/lib/rbpkg/repos/c3.rb
index 514bf8d..a6b51c7 100644
--- a/lib/rbpkg/repos/c3.rb
+++ b/lib/rbpkg/repos/c3.rb
@@ -5,7 +5,7 @@ class Rbpkg::Repos::C3 < Rbpkg::Repo
end
def self.dependencies
- ["libbsd", "libmd"]
+ ["libbsd", "libffi", "libmd"]
end
def git_url
diff --git a/lib/rbpkg/repos/libffi.rb b/lib/rbpkg/repos/libffi.rb
new file mode 100644
index 0000000..dfa14a1
--- /dev/null
+++ b/lib/rbpkg/repos/libffi.rb
@@ -0,0 +1,16 @@
+class Rbpkg::Repos::Libffi < Rbpkg::Repo
+
+ def_name("libffi")
+
+ def self.dependencies
+ []
+ end
+
+ def dir
+ "libffi/libffi"
+ end
+
+ def git_url
+ "https://git.kmx.io/c3-lang/libffi.git"
+ end
+end