diff options
author | MCApollo <34170230+MCApollo@users.noreply.github.com> | 2019-04-20 20:49:46 -0500 |
---|---|---|
committer | MCApollo <34170230+MCApollo@users.noreply.github.com> | 2019-04-23 20:18:47 -0500 |
commit | 12335518ab39608d58370c85ff9f5384ad2aa5f7 (patch) | |
tree | 352d81f2a2de3f1252af732080ec0fde38c13b4d /homebrew/lsof/.beer | |
parent | a2b26ad12d4fa12f0273645caf4be6d0b8b71e7c (diff) |
Ported in the homebrew-marauder for a hacky update/import system.
TODO: Maybe add a license & fix up messy code.
Diffstat (limited to 'homebrew/lsof/.beer')
-rw-r--r-- | homebrew/lsof/.beer | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/homebrew/lsof/.beer b/homebrew/lsof/.beer new file mode 100644 index 000000000..1f47f2cf1 --- /dev/null +++ b/homebrew/lsof/.beer @@ -0,0 +1,31 @@ +{ + "name": "Lsof", + "description": "Utility to list open files", + "url": "https://www.mirrorservice.org/sites/lsof.itap.purdue.edu/pub/tools/unix/lsof/lsof_4.91.tar.bz2", + "mirror": null, + "homepage": "https://people.freebsd.org/~abe/", + "depends": [], + "resource": [], + "conflicts": [], + "patches": [], + "install": [ + "system \"tar\", \"xf\", \"lsof_#{version}_src.tar\"", + "cd \"lsof_#{version}_src\" do", + "inreplace \"dialects/darwin/libproc/dfile.c\",", + "\"#extern\\tstruct pff_tab\\tPgf_tab[];\", \"extern\\tstruct pff_tab\\tPgf_tab[];\"", + "ENV[\"LSOF_INCLUDE\"] = \"#{MacOS.sdk_path}/usr/include\"", + "inreplace %w[", + "dialects/darwin/kmem/dlsof.h", + "dialects/darwin/kmem/machine.h", + "dialects/darwin/libproc/machine.h", + "], \"/usr/include\", \"#{MacOS.sdk_path}/usr/include\"", + "mv \"00README\", \"README\"", + "system \"./Configure\", \"-n\", \"darwin\"", + "system \"make\"", + "bin.install \"lsof\"", + "man8.install \"lsof.8\"", + "prefix.install_metafiles" + ], + "version": "4.91", + "file": "lsof.rb" +}
\ No newline at end of file |