From 57428be2ae43d1389d6d4ac43a520d3891d64893 Mon Sep 17 00:00:00 2001 From: ckenna Date: Sun, 31 Oct 2010 18:32:08 -0400 Subject: Add libnids formula. Signed-off-by: Adam Vandenberg --- Library/Formula/libnids.rb | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 Library/Formula/libnids.rb (limited to 'Library/Formula') diff --git a/Library/Formula/libnids.rb b/Library/Formula/libnids.rb new file mode 100644 index 000000000..aebc21780 --- /dev/null +++ b/Library/Formula/libnids.rb @@ -0,0 +1,34 @@ +require 'formula' + +def use_libnet? + not ARGV.include? '--disable-libnet' +end + +def use_glib? + not ARGV.include? '--disable-libglib' +end + +class Libnids