summaryrefslogtreecommitdiff
path: root/homebrew/convertlit
diff options
context:
space:
mode:
Diffstat (limited to 'homebrew/convertlit')
-rw-r--r--homebrew/convertlit/.beer23
-rw-r--r--homebrew/convertlit/.make.sh-auto4
-rw-r--r--homebrew/convertlit/_metadata/description1
-rw-r--r--homebrew/convertlit/_metadata/homepage1
-rw-r--r--homebrew/convertlit/_metadata/name1
-rw-r--r--homebrew/convertlit/_metadata/version1
-rwxr-xr-xhomebrew/convertlit/download.sh1
7 files changed, 32 insertions, 0 deletions
diff --git a/homebrew/convertlit/.beer b/homebrew/convertlit/.beer
new file mode 100644
index 000000000..2311f4f1e
--- /dev/null
+++ b/homebrew/convertlit/.beer
@@ -0,0 +1,23 @@
+{
+ "name": "Convertlit",
+ "description": "Convert Microsoft Reader format eBooks into open format",
+ "url": "http://www.convertlit.com/clit18src.zip",
+ "mirror": null,
+ "homepage": "http://www.convertlit.com/",
+ "depends": [
+ {
+ "depend": "libtommath",
+ "build-depend": false
+ }
+ ],
+ "resource": [],
+ "conflicts": [],
+ "patches": [],
+ "install": [
+ "inreplace \"clit18/Makefile\" do |s|",
+ "s.gsub! \"-I ../libtommath-0.30\", \"#{HOMEBREW_PREFIX}/include\"",
+ "s.gsub! \"../libtommath-0.30/libtommath.a\", \"#{HOMEBREW_PREFIX}/lib/libtommath.a\""
+ ],
+ "version": "18",
+ "file": "convertlit.rb"
+} \ No newline at end of file
diff --git a/homebrew/convertlit/.make.sh-auto b/homebrew/convertlit/.make.sh-auto
new file mode 100644
index 000000000..6c45f12e9
--- /dev/null
+++ b/homebrew/convertlit/.make.sh-auto
@@ -0,0 +1,4 @@
+pkg:setup
+inreplace "clit18/Makefile" do |s|
+s.gsub! "-I ../libtommath-0.30", "#{HOMEBREW_PREFIX}/include"
+s.gsub! "../libtommath-0.30/libtommath.a", "#{HOMEBREW_PREFIX}/lib/libtommath.a"
diff --git a/homebrew/convertlit/_metadata/description b/homebrew/convertlit/_metadata/description
new file mode 100644
index 000000000..c192a2ebf
--- /dev/null
+++ b/homebrew/convertlit/_metadata/description
@@ -0,0 +1 @@
+Convert Microsoft Reader format eBooks into open format
diff --git a/homebrew/convertlit/_metadata/homepage b/homebrew/convertlit/_metadata/homepage
new file mode 100644
index 000000000..aef94e5b4
--- /dev/null
+++ b/homebrew/convertlit/_metadata/homepage
@@ -0,0 +1 @@
+http://www.convertlit.com/
diff --git a/homebrew/convertlit/_metadata/name b/homebrew/convertlit/_metadata/name
new file mode 100644
index 000000000..70d49fa02
--- /dev/null
+++ b/homebrew/convertlit/_metadata/name
@@ -0,0 +1 @@
+Convertlit
diff --git a/homebrew/convertlit/_metadata/version b/homebrew/convertlit/_metadata/version
new file mode 100644
index 000000000..3c032078a
--- /dev/null
+++ b/homebrew/convertlit/_metadata/version
@@ -0,0 +1 @@
+18
diff --git a/homebrew/convertlit/download.sh b/homebrew/convertlit/download.sh
new file mode 100755
index 000000000..6c0121455
--- /dev/null
+++ b/homebrew/convertlit/download.sh
@@ -0,0 +1 @@
+wget http://www.convertlit.com/clit18src.zip \ No newline at end of file