diff options
Diffstat (limited to 'homebrew/antiword')
-rw-r--r-- | homebrew/antiword/.beer | 29 | ||||
-rw-r--r-- | homebrew/antiword/.make.sh-auto | 6 | ||||
-rw-r--r-- | homebrew/antiword/_metadata/description | 1 | ||||
-rw-r--r-- | homebrew/antiword/_metadata/homepage | 1 | ||||
-rw-r--r-- | homebrew/antiword/_metadata/name | 1 | ||||
-rw-r--r-- | homebrew/antiword/_metadata/version | 1 | ||||
-rwxr-xr-x | homebrew/antiword/download.sh | 1 |
7 files changed, 40 insertions, 0 deletions
diff --git a/homebrew/antiword/.beer b/homebrew/antiword/.beer new file mode 100644 index 000000000..335e2e0ab --- /dev/null +++ b/homebrew/antiword/.beer @@ -0,0 +1,29 @@ +{ + "name": "Antiword", + "description": "Utility to read Word (.doc) files", + "url": "http://www.winfield.demon.nl/linux/antiword-0.37.tar.gz", + "mirror": null, + "homepage": "http://www.winfield.demon.nl/", + "depends": [], + "resource": [ + { + "name": "sample.doc", + "url": "https://gist.github.com/bfontaine/f7e29599d329c41737ce/raw/ed4a3c5461924ed3bc18beb6b82681af9ad143d1/sample.doc" + } + ], + "conflicts": [], + "patches": [], + "install": [ + "inreplace \"antiword.h\", \"/usr/share/antiword\", pkgshare", + "system \"make\", \"CC=#{ENV.cc}\",", + "\"LD=#{ENV.cc}\",", + "\"CFLAGS=#{ENV.cflags} -DNDEBUG\",", + "\"GLOBAL_INSTALL_DIR=#{bin}\",", + "\"GLOBAL_RESOURCES_DIR=#{pkgshare}\"", + "bin.install \"antiword\"", + "pkgshare.install Dir[\"Resources/*\"]", + "man1.install \"Docs/antiword.1\"" + ], + "version": "0.37", + "file": "antiword.rb" +}
\ No newline at end of file diff --git a/homebrew/antiword/.make.sh-auto b/homebrew/antiword/.make.sh-auto new file mode 100644 index 000000000..4f3d6d48d --- /dev/null +++ b/homebrew/antiword/.make.sh-auto @@ -0,0 +1,6 @@ +pkg:setup +inreplace "antiword.h", "/usr/share/antiword", pkgshare +make CC=${PKG_TARG}-clang LD=${PKG_TARG}-clang CFLAGS=${CFLAGS} -DNDEBUG GLOBAL_INSTALL_DIR=#{bin} GLOBAL_RESOURCES_DIR=${PKG_TAPF}/share +bin.install "antiword" +pkgshare.install Dir["Resources/*"] +man1.install "Docs/antiword.1" diff --git a/homebrew/antiword/_metadata/description b/homebrew/antiword/_metadata/description new file mode 100644 index 000000000..22ef44780 --- /dev/null +++ b/homebrew/antiword/_metadata/description @@ -0,0 +1 @@ +Utility to read Word (.doc) files diff --git a/homebrew/antiword/_metadata/homepage b/homebrew/antiword/_metadata/homepage new file mode 100644 index 000000000..90ec4181a --- /dev/null +++ b/homebrew/antiword/_metadata/homepage @@ -0,0 +1 @@ +http://www.winfield.demon.nl/ diff --git a/homebrew/antiword/_metadata/name b/homebrew/antiword/_metadata/name new file mode 100644 index 000000000..1a94632dc --- /dev/null +++ b/homebrew/antiword/_metadata/name @@ -0,0 +1 @@ +Antiword diff --git a/homebrew/antiword/_metadata/version b/homebrew/antiword/_metadata/version new file mode 100644 index 000000000..c128d4d9e --- /dev/null +++ b/homebrew/antiword/_metadata/version @@ -0,0 +1 @@ +0.37 diff --git a/homebrew/antiword/download.sh b/homebrew/antiword/download.sh new file mode 100755 index 000000000..d0a5aab16 --- /dev/null +++ b/homebrew/antiword/download.sh @@ -0,0 +1 @@ +wget http://www.winfield.demon.nl/linux/antiword-0.37.tar.gz
\ No newline at end of file |