Revert "lmdb: add pkg-config file (#12950)" (#13626)

This reverts commit 9d554c7019.
This commit is contained in:
ilovezfs 2017-05-16 11:13:21 -07:00 committed by GitHub
parent 03c9e2e3cf
commit 9147f0fc85

View file

@ -20,22 +20,6 @@ class Lmdb < Formula
system "make", "test", "SOEXT=.dylib"
system "make", "install", "SOEXT=.dylib", "prefix=#{prefix}"
end
(lib/"pkgconfig/lmdb.pc").write(lmdb_pc)
end
def lmdb_pc; <<-EOS.undent
prefix=#{prefix}
exec_prefix=#{prefix}
libdir=${exec_prefix}/lib
includedir=${prefix}/include
Name: liblmdb
Description: Lightning Memory-Mapped Database
URL: https://symas.com/products/lightning-memory-mapped-database/
Version: #{version}
Libs: -L${libdir} -llmdb
Cflags: -I${includedir}
EOS
end
test do