summaryrefslogtreecommitdiff
path: root/homebrew/uchardet
diff options
context:
space:
mode:
authorMCApollo <34170230+MCApollo@users.noreply.github.com>2019-04-20 20:49:46 -0500
committerMCApollo <34170230+MCApollo@users.noreply.github.com>2019-04-23 20:18:47 -0500
commit12335518ab39608d58370c85ff9f5384ad2aa5f7 (patch)
tree352d81f2a2de3f1252af732080ec0fde38c13b4d /homebrew/uchardet
parenta2b26ad12d4fa12f0273645caf4be6d0b8b71e7c (diff)
Ported in the homebrew-marauder for a hacky update/import system.
TODO: Maybe add a license & fix up messy code.
Diffstat (limited to 'homebrew/uchardet')
-rw-r--r--homebrew/uchardet/.beer24
-rw-r--r--homebrew/uchardet/.make.sh-auto5
-rw-r--r--homebrew/uchardet/_metadata/description1
-rw-r--r--homebrew/uchardet/_metadata/homepage1
-rw-r--r--homebrew/uchardet/_metadata/name1
-rw-r--r--homebrew/uchardet/_metadata/version1
-rwxr-xr-xhomebrew/uchardet/download.sh1
7 files changed, 34 insertions, 0 deletions
diff --git a/homebrew/uchardet/.beer b/homebrew/uchardet/.beer
new file mode 100644
index 000000000..d69f4640b
--- /dev/null
+++ b/homebrew/uchardet/.beer
@@ -0,0 +1,24 @@
+{
+ "name": "Uchardet",
+ "description": "Encoding detector library",
+ "url": "https://www.freedesktop.org/software/uchardet/releases/uchardet-0.0.6.tar.xz",
+ "mirror": null,
+ "homepage": "https://www.freedesktop.org/wiki/Software/uchardet/",
+ "depends": [
+ {
+ "depend": "cmake",
+ "build-depend": true
+ }
+ ],
+ "resource": [],
+ "conflicts": [],
+ "patches": [],
+ "install": [
+ "args = std_cmake_args",
+ "args << \"-DCMAKE_INSTALL_NAME_DIR=#{lib}\"",
+ "system \"cmake\", \".\", *args",
+ "system \"make\", \"install\""
+ ],
+ "version": "0.0.6",
+ "file": "uchardet.rb"
+} \ No newline at end of file
diff --git a/homebrew/uchardet/.make.sh-auto b/homebrew/uchardet/.make.sh-auto
new file mode 100644
index 000000000..590abc0a0
--- /dev/null
+++ b/homebrew/uchardet/.make.sh-auto
@@ -0,0 +1,5 @@
+pkg:setup
+args = std_cmake_args
+args << "-DCMAKE_INSTALL_NAME_DIR=#{lib}"
+cmake . *args
+make DESTDIR=${PKG_DEST} install
diff --git a/homebrew/uchardet/_metadata/description b/homebrew/uchardet/_metadata/description
new file mode 100644
index 000000000..cfdbfb753
--- /dev/null
+++ b/homebrew/uchardet/_metadata/description
@@ -0,0 +1 @@
+Encoding detector library
diff --git a/homebrew/uchardet/_metadata/homepage b/homebrew/uchardet/_metadata/homepage
new file mode 100644
index 000000000..36e9d26a8
--- /dev/null
+++ b/homebrew/uchardet/_metadata/homepage
@@ -0,0 +1 @@
+https://www.freedesktop.org/wiki/Software/uchardet/
diff --git a/homebrew/uchardet/_metadata/name b/homebrew/uchardet/_metadata/name
new file mode 100644
index 000000000..6174287b5
--- /dev/null
+++ b/homebrew/uchardet/_metadata/name
@@ -0,0 +1 @@
+Uchardet
diff --git a/homebrew/uchardet/_metadata/version b/homebrew/uchardet/_metadata/version
new file mode 100644
index 000000000..1750564f2
--- /dev/null
+++ b/homebrew/uchardet/_metadata/version
@@ -0,0 +1 @@
+0.0.6
diff --git a/homebrew/uchardet/download.sh b/homebrew/uchardet/download.sh
new file mode 100755
index 000000000..440222974
--- /dev/null
+++ b/homebrew/uchardet/download.sh
@@ -0,0 +1 @@
+wget https://www.freedesktop.org/software/uchardet/releases/uchardet-0.0.6.tar.xz \ No newline at end of file