summaryrefslogtreecommitdiff
path: root/homebrew/analog
diff options
context:
space:
mode:
Diffstat (limited to 'homebrew/analog')
-rw-r--r--homebrew/analog/.beer38
-rw-r--r--homebrew/analog/.make.sh-auto7
-rw-r--r--homebrew/analog/_metadata/description1
-rw-r--r--homebrew/analog/_metadata/homepage1
-rw-r--r--homebrew/analog/_metadata/name1
-rw-r--r--homebrew/analog/_metadata/version1
-rwxr-xr-xhomebrew/analog/download.sh1
7 files changed, 50 insertions, 0 deletions
diff --git a/homebrew/analog/.beer b/homebrew/analog/.beer
new file mode 100644
index 000000000..1bcf65574
--- /dev/null
+++ b/homebrew/analog/.beer
@@ -0,0 +1,38 @@
+{
+ "name": "Analog",
+ "description": "Logfile analyzer",
+ "url": "https://deb.debian.org/debian/pool/main/a/analog/analog_6.0.orig.tar.gz",
+ "mirror": null,
+ "homepage": "https://tracker.debian.org/pkg/analog",
+ "depends": [
+ {
+ "depend": "gd",
+ "build-depend": false
+ },
+ {
+ "depend": "jpeg",
+ "build-depend": false
+ },
+ {
+ "depend": "libpng",
+ "build-depend": false
+ }
+ ],
+ "resource": [],
+ "conflicts": [],
+ "patches": [],
+ "install": [
+ "system \"make\", \"CC=#{ENV.cc}\",",
+ "\"CFLAGS=#{ENV.cflags}\",",
+ "\"DEFS='-DLANGDIR=\\\"#{pkgshare}/lang/\\\"' -DHAVE_ZLIB\",",
+ "\"LIBS=-lz\",",
+ "\"OS=OSX\"",
+ "bin.install \"analog\"",
+ "pkgshare.install \"examples\", \"how-to\", \"images\", \"lang\"",
+ "pkgshare.install \"analog.cfg\" => \"analog.cfg-dist\"",
+ "(pkgshare/\"examples\").install \"logfile.log\"",
+ "man1.install \"analog.man\" => \"analog.1\""
+ ],
+ "version": "6.0",
+ "file": "analog.rb"
+} \ No newline at end of file
diff --git a/homebrew/analog/.make.sh-auto b/homebrew/analog/.make.sh-auto
new file mode 100644
index 000000000..715279877
--- /dev/null
+++ b/homebrew/analog/.make.sh-auto
@@ -0,0 +1,7 @@
+pkg:setup
+make CC=${PKG_TARG}-clang CFLAGS=${CFLAGS} DEFS='-DLANGDIR=\${PKG_TAPF}/share/lang/\"' -DHAVE_ZLIB" LIBS=-lz OS=OSX
+bin.install "analog"
+pkgshare.install "examples", "how-to", "images", "lang"
+pkgshare.install "analog.cfg" => "analog.cfg-dist"
+(pkgshare/"examples").install "logfile.log"
+man1.install "analog.man" => "analog.1"
diff --git a/homebrew/analog/_metadata/description b/homebrew/analog/_metadata/description
new file mode 100644
index 000000000..14998728e
--- /dev/null
+++ b/homebrew/analog/_metadata/description
@@ -0,0 +1 @@
+Logfile analyzer
diff --git a/homebrew/analog/_metadata/homepage b/homebrew/analog/_metadata/homepage
new file mode 100644
index 000000000..03df333f6
--- /dev/null
+++ b/homebrew/analog/_metadata/homepage
@@ -0,0 +1 @@
+https://tracker.debian.org/pkg/analog
diff --git a/homebrew/analog/_metadata/name b/homebrew/analog/_metadata/name
new file mode 100644
index 000000000..7c426325a
--- /dev/null
+++ b/homebrew/analog/_metadata/name
@@ -0,0 +1 @@
+Analog
diff --git a/homebrew/analog/_metadata/version b/homebrew/analog/_metadata/version
new file mode 100644
index 000000000..e0ea36fee
--- /dev/null
+++ b/homebrew/analog/_metadata/version
@@ -0,0 +1 @@
+6.0
diff --git a/homebrew/analog/download.sh b/homebrew/analog/download.sh
new file mode 100755
index 000000000..59754e30e
--- /dev/null
+++ b/homebrew/analog/download.sh
@@ -0,0 +1 @@
+wget https://deb.debian.org/debian/pool/main/a/analog/analog_6.0.orig.tar.gz \ No newline at end of file