summaryrefslogtreecommitdiff
path: root/homebrew/nut/.beer
diff options
context:
space:
mode:
Diffstat (limited to 'homebrew/nut/.beer')
-rw-r--r--homebrew/nut/.beer72
1 files changed, 72 insertions, 0 deletions
diff --git a/homebrew/nut/.beer b/homebrew/nut/.beer
new file mode 100644
index 000000000..ae004ae05
--- /dev/null
+++ b/homebrew/nut/.beer
@@ -0,0 +1,72 @@
+{
+ "name": "Nut",
+ "description": "Network UPS Tools: Support for various power devices",
+ "url": "https://networkupstools.org/source/2.7/nut-2.7.4.tar.gz",
+ "mirror": null,
+ "homepage": "https://networkupstools.org/",
+ "depends": [
+ {
+ "depend": "asciidoc",
+ "build-depend": true
+ },
+ {
+ "depend": "autoconf",
+ "build-depend": true
+ },
+ {
+ "depend": "automake",
+ "build-depend": true
+ },
+ {
+ "depend": "libtool",
+ "build-depend": true
+ },
+ {
+ "depend": "pkg-config",
+ "build-depend": true
+ },
+ {
+ "depend": "libusb-compat",
+ "build-depend": false
+ },
+ {
+ "depend": "openssl",
+ "build-depend": false
+ }
+ ],
+ "resource": [],
+ "conflicts": [
+ {
+ "conflict": "rhino",
+ "reason": "both install `rhino` binaries"
+ }
+ ],
+ "patches": [],
+ "install": [
+ "if build.head?",
+ "ENV[\"XML_CATALOG_FILES\"] = \"#{etc}/xml/catalog\"",
+ "system \"./autogen.sh\"",
+ "end",
+ "system \"./configure\", \"--disable-dependency-tracking\",",
+ "\"--prefix=#{prefix}\",",
+ "\"--localstatedir=#{var}\",",
+ "\"--with-macosx_ups\",",
+ "\"--with-openssl\",",
+ "\"--with-serial\",",
+ "\"--with-usb\",",
+ "\"--without-avahi\",",
+ "\"--without-cgi\",",
+ "\"--without-dev\",",
+ "\"--without-doc\",",
+ "\"--without-ipmi\",",
+ "\"--without-libltdl\",",
+ "\"--without-neon\",",
+ "\"--without-nss\",",
+ "\"--without-powerman\",",
+ "\"--without-snmp\",",
+ "\"--without-wrap\"",
+ "system \"make\", \"install\""
+ ],
+ "version": "2.7.4",
+ "file": "nut.rb"
+} \ No newline at end of file