summaryrefslogtreecommitdiff
path: root/homebrew/cconv
diff options
context:
space:
mode:
Diffstat (limited to 'homebrew/cconv')
-rw-r--r--homebrew/cconv/.beer33
-rw-r--r--homebrew/cconv/.make.sh-auto6
-rw-r--r--homebrew/cconv/_metadata/description1
-rw-r--r--homebrew/cconv/_metadata/homepage1
-rw-r--r--homebrew/cconv/_metadata/name1
-rw-r--r--homebrew/cconv/_metadata/version1
-rwxr-xr-xhomebrew/cconv/download.sh1
7 files changed, 44 insertions, 0 deletions
diff --git a/homebrew/cconv/.beer b/homebrew/cconv/.beer
new file mode 100644
index 000000000..a9b58d01a
--- /dev/null
+++ b/homebrew/cconv/.beer
@@ -0,0 +1,33 @@
+{
+ "name": "Cconv",
+ "description": "Iconv based simplified-traditional Chinese conversion tool",
+ "url": "https://github.com/xiaoyjy/cconv/archive/v0.6.3.tar.gz",
+ "mirror": null,
+ "homepage": "https://github.com/xiaoyjy/cconv",
+ "depends": [
+ {
+ "depend": "autoconf",
+ "build-depend": true
+ },
+ {
+ "depend": "automake",
+ "build-depend": true
+ },
+ {
+ "depend": "libtool",
+ "build-depend": true
+ }
+ ],
+ "resource": [],
+ "conflicts": [],
+ "patches": [],
+ "install": [
+ "ENV.append \"LDFLAGS\", \"-liconv\"",
+ "system \"autoreconf\", \"-fvi\"",
+ "system \"./configure\", \"--disable-dependency-tracking\", \"--prefix=#{prefix}\"",
+ "system \"make\", \"install\"",
+ "rm_f include/\"unicode.h\""
+ ],
+ "version": "0.6.3",
+ "file": "cconv.rb"
+} \ No newline at end of file
diff --git a/homebrew/cconv/.make.sh-auto b/homebrew/cconv/.make.sh-auto
new file mode 100644
index 000000000..f6156ec2b
--- /dev/null
+++ b/homebrew/cconv/.make.sh-auto
@@ -0,0 +1,6 @@
+pkg:setup
+ENV.append "LDFLAGS", "-liconv"
+autoreconf -fvi
+pkg:configure --disable-dependency-tracking
+make DESTDIR=${PKG_DEST} install
+rm_f include/"unicode.h"
diff --git a/homebrew/cconv/_metadata/description b/homebrew/cconv/_metadata/description
new file mode 100644
index 000000000..cfda78fb6
--- /dev/null
+++ b/homebrew/cconv/_metadata/description
@@ -0,0 +1 @@
+Iconv based simplified-traditional Chinese conversion tool
diff --git a/homebrew/cconv/_metadata/homepage b/homebrew/cconv/_metadata/homepage
new file mode 100644
index 000000000..77abe25fa
--- /dev/null
+++ b/homebrew/cconv/_metadata/homepage
@@ -0,0 +1 @@
+https://github.com/xiaoyjy/cconv
diff --git a/homebrew/cconv/_metadata/name b/homebrew/cconv/_metadata/name
new file mode 100644
index 000000000..bcef2f1ed
--- /dev/null
+++ b/homebrew/cconv/_metadata/name
@@ -0,0 +1 @@
+Cconv
diff --git a/homebrew/cconv/_metadata/version b/homebrew/cconv/_metadata/version
new file mode 100644
index 000000000..844f6a91a
--- /dev/null
+++ b/homebrew/cconv/_metadata/version
@@ -0,0 +1 @@
+0.6.3
diff --git a/homebrew/cconv/download.sh b/homebrew/cconv/download.sh
new file mode 100755
index 000000000..468d4e057
--- /dev/null
+++ b/homebrew/cconv/download.sh
@@ -0,0 +1 @@
+wget https://github.com/xiaoyjy/cconv/archive/v0.6.3.tar.gz \ No newline at end of file