summaryrefslogtreecommitdiff
path: root/homebrew/codec2
diff options
context:
space:
mode:
Diffstat (limited to 'homebrew/codec2')
-rw-r--r--homebrew/codec2/.beer23
-rw-r--r--homebrew/codec2/.make.sh-auto4
-rw-r--r--homebrew/codec2/_metadata/description1
-rw-r--r--homebrew/codec2/_metadata/homepage1
-rw-r--r--homebrew/codec2/_metadata/name1
-rw-r--r--homebrew/codec2/_metadata/version1
-rwxr-xr-xhomebrew/codec2/download.sh1
7 files changed, 32 insertions, 0 deletions
diff --git a/homebrew/codec2/.beer b/homebrew/codec2/.beer
new file mode 100644
index 000000000..16392de3e
--- /dev/null
+++ b/homebrew/codec2/.beer
@@ -0,0 +1,23 @@
+{
+ "name": "Codec2",
+ "description": "Open source speech codec",
+ "url": "https://hobbes1069.fedorapeople.org/freetel/codec2/codec2-0.8.1.tar.xz",
+ "mirror": null,
+ "homepage": "https://www.rowetel.com/?page_id=452",
+ "depends": [
+ {
+ "depend": "cmake",
+ "build-depend": true
+ }
+ ],
+ "resource": [],
+ "conflicts": [],
+ "patches": [],
+ "install": [
+ "mkdir \"build_osx\" do",
+ "system \"cmake\", \"..\", *std_cmake_args",
+ "system \"make\", \"install\""
+ ],
+ "version": "0.8.1",
+ "file": "codec2.rb"
+} \ No newline at end of file
diff --git a/homebrew/codec2/.make.sh-auto b/homebrew/codec2/.make.sh-auto
new file mode 100644
index 000000000..f7b29a3cd
--- /dev/null
+++ b/homebrew/codec2/.make.sh-auto
@@ -0,0 +1,4 @@
+pkg:setup
+mkdir "build_osx" && cd build_osx
+cmake .. -DCMAKE_TOOLCHAIN_FILE=${CMAKE_TOOLCHAIN_FILE}
+make DESTDIR=${PKG_DEST} install
diff --git a/homebrew/codec2/_metadata/description b/homebrew/codec2/_metadata/description
new file mode 100644
index 000000000..cbc663262
--- /dev/null
+++ b/homebrew/codec2/_metadata/description
@@ -0,0 +1 @@
+Open source speech codec
diff --git a/homebrew/codec2/_metadata/homepage b/homebrew/codec2/_metadata/homepage
new file mode 100644
index 000000000..fca5306db
--- /dev/null
+++ b/homebrew/codec2/_metadata/homepage
@@ -0,0 +1 @@
+https://www.rowetel.com/?page_id=452
diff --git a/homebrew/codec2/_metadata/name b/homebrew/codec2/_metadata/name
new file mode 100644
index 000000000..bca179c0d
--- /dev/null
+++ b/homebrew/codec2/_metadata/name
@@ -0,0 +1 @@
+Codec2
diff --git a/homebrew/codec2/_metadata/version b/homebrew/codec2/_metadata/version
new file mode 100644
index 000000000..6f4eebdf6
--- /dev/null
+++ b/homebrew/codec2/_metadata/version
@@ -0,0 +1 @@
+0.8.1
diff --git a/homebrew/codec2/download.sh b/homebrew/codec2/download.sh
new file mode 100755
index 000000000..e33d6e6d4
--- /dev/null
+++ b/homebrew/codec2/download.sh
@@ -0,0 +1 @@
+wget https://hobbes1069.fedorapeople.org/freetel/codec2/codec2-0.8.1.tar.xz \ No newline at end of file