summaryrefslogtreecommitdiff
path: root/homebrew/deheader
diff options
context:
space:
mode:
Diffstat (limited to 'homebrew/deheader')
-rw-r--r--homebrew/deheader/.beer29
-rw-r--r--homebrew/deheader/.make.sh-auto8
-rw-r--r--homebrew/deheader/_metadata/description1
-rw-r--r--homebrew/deheader/_metadata/homepage1
-rw-r--r--homebrew/deheader/_metadata/name1
-rw-r--r--homebrew/deheader/_metadata/version1
-rwxr-xr-xhomebrew/deheader/download.sh1
7 files changed, 42 insertions, 0 deletions
diff --git a/homebrew/deheader/.beer b/homebrew/deheader/.beer
new file mode 100644
index 000000000..b2064919e
--- /dev/null
+++ b/homebrew/deheader/.beer
@@ -0,0 +1,29 @@
+{
+ "name": "Deheader",
+ "description": "Analyze C/C++ files for unnecessary headers",
+ "url": "http://www.catb.org/~esr/deheader/deheader-1.6.tar.gz",
+ "mirror": null,
+ "homepage": "http://www.catb.org/~esr/deheader",
+ "depends": [
+ {
+ "depend": "xmlto",
+ "build-depend": true
+ }
+ ],
+ "resource": [],
+ "conflicts": [],
+ "patches": [],
+ "install": [
+ "ENV[\"XML_CATALOG_FILES\"] = \"#{etc}/xml/catalog\"",
+ "system \"/usr/bin/tar\", \"-xvqf\", \"deheader-1.6.tar.gz\",",
+ "\"deheader-1.6/deheader.1\"",
+ "system \"/usr/bin/tar\", \"-xvf\", \"deheader-1.6.tar.gz\", \"--exclude\",",
+ "\"deheader-1.6/deheader.1\"",
+ "cd \"deheader-1.6\" do",
+ "system \"make\"",
+ "bin.install \"deheader\"",
+ "man1.install \"deheader.1\""
+ ],
+ "version": "1.6",
+ "file": "deheader.rb"
+} \ No newline at end of file
diff --git a/homebrew/deheader/.make.sh-auto b/homebrew/deheader/.make.sh-auto
new file mode 100644
index 000000000..ad89be308
--- /dev/null
+++ b/homebrew/deheader/.make.sh-auto
@@ -0,0 +1,8 @@
+pkg:setup
+ENV["XML_CATALOG_FILES"] = "#{etc}/xml/catalog"
+/usr/bin/tar -xvqf deheader-1.6.tar.gz deheader-1.6/deheader.1
+/usr/bin/tar -xvf deheader-1.6.tar.gz --exclude deheader-1.6/deheader.1
+cd "deheader-1.6"
+make
+bin.install "deheader"
+man1.install "deheader.1"
diff --git a/homebrew/deheader/_metadata/description b/homebrew/deheader/_metadata/description
new file mode 100644
index 000000000..47a7fc0ad
--- /dev/null
+++ b/homebrew/deheader/_metadata/description
@@ -0,0 +1 @@
+Analyze C/C++ files for unnecessary headers
diff --git a/homebrew/deheader/_metadata/homepage b/homebrew/deheader/_metadata/homepage
new file mode 100644
index 000000000..3682d154c
--- /dev/null
+++ b/homebrew/deheader/_metadata/homepage
@@ -0,0 +1 @@
+http://www.catb.org/~esr/deheader
diff --git a/homebrew/deheader/_metadata/name b/homebrew/deheader/_metadata/name
new file mode 100644
index 000000000..9203e6b2e
--- /dev/null
+++ b/homebrew/deheader/_metadata/name
@@ -0,0 +1 @@
+Deheader
diff --git a/homebrew/deheader/_metadata/version b/homebrew/deheader/_metadata/version
new file mode 100644
index 000000000..810ee4e91
--- /dev/null
+++ b/homebrew/deheader/_metadata/version
@@ -0,0 +1 @@
+1.6
diff --git a/homebrew/deheader/download.sh b/homebrew/deheader/download.sh
new file mode 100755
index 000000000..256484951
--- /dev/null
+++ b/homebrew/deheader/download.sh
@@ -0,0 +1 @@
+wget http://www.catb.org/~esr/deheader/deheader-1.6.tar.gz \ No newline at end of file