summaryrefslogtreecommitdiff
path: root/homebrew/audiofile
diff options
context:
space:
mode:
Diffstat (limited to 'homebrew/audiofile')
-rw-r--r--homebrew/audiofile/.beer50
-rw-r--r--homebrew/audiofile/.make.sh-auto9
-rw-r--r--homebrew/audiofile/_metadata/description1
-rw-r--r--homebrew/audiofile/_metadata/homepage1
-rw-r--r--homebrew/audiofile/_metadata/name1
-rw-r--r--homebrew/audiofile/_metadata/version1
-rwxr-xr-xhomebrew/audiofile/download.sh1
-rwxr-xr-xhomebrew/audiofile/patches.sh2
8 files changed, 66 insertions, 0 deletions
diff --git a/homebrew/audiofile/.beer b/homebrew/audiofile/.beer
new file mode 100644
index 000000000..fd0f5826c
--- /dev/null
+++ b/homebrew/audiofile/.beer
@@ -0,0 +1,50 @@
+{
+ "name": "Audiofile",
+ "description": "Reads and writes many common audio file formats",
+ "url": "https://audiofile.68k.org/audiofile-0.3.6.tar.gz",
+ "mirror": null,
+ "homepage": "https://audiofile.68k.org/",
+ "depends": [
+ {
+ "depend": "asciidoc",
+ "build-depend": true
+ },
+ {
+ "depend": "autoconf",
+ "build-depend": true
+ },
+ {
+ "depend": "automake",
+ "build-depend": true
+ },
+ {
+ "depend": "libtool",
+ "build-depend": true
+ }
+ ],
+ "resource": [],
+ "conflicts": [],
+ "patches": [
+ {
+ "url": "https://deb.debian.org/debian/pool/main/a/audiofile/audiofile_0.3.6-4.debian.tar.xz",
+ "strip": "1"
+ },
+ {
+ "url": "https://deb.debian.org/debian/pool/main/a/audiofile/audiofile_0.3.6-4.debian.tar.xz",
+ "strip": "1"
+ }
+ ],
+ "install": [
+ "if build.head?",
+ "inreplace \"autogen.sh\", \"libtool\", \"glibtool\"",
+ "ENV[\"XML_CATALOG_FILES\"] = \"#{etc}/xml/catalog\"",
+ "end",
+ "configure = build.head? ? \"./autogen.sh\" : \"./configure\"",
+ "args = [\"--disable-dependency-tracking\", \"--prefix=#{prefix}\"]",
+ "system configure, *args",
+ "system \"make\"",
+ "system \"make\", \"install\""
+ ],
+ "version": "0.3.6",
+ "file": "audiofile.rb"
+} \ No newline at end of file
diff --git a/homebrew/audiofile/.make.sh-auto b/homebrew/audiofile/.make.sh-auto
new file mode 100644
index 000000000..a7730c6be
--- /dev/null
+++ b/homebrew/audiofile/.make.sh-auto
@@ -0,0 +1,9 @@
+pkg:setup
+inreplace "autogen.sh", "libtool", "glibtool"
+ENV["XML_CATALOG_FILES"] = "#{etc}/xml/catalog"
+end
+configure = build.head? ? "./autogen.sh" : "./configure"
+args = ["--disable-dependency-tracking", "--prefix=#{prefix}"]
+PKG_CONF=c pkg:configureonfigure *args
+make
+make DESTDIR=${PKG_DEST} install
diff --git a/homebrew/audiofile/_metadata/description b/homebrew/audiofile/_metadata/description
new file mode 100644
index 000000000..12587a022
--- /dev/null
+++ b/homebrew/audiofile/_metadata/description
@@ -0,0 +1 @@
+Reads and writes many common audio file formats
diff --git a/homebrew/audiofile/_metadata/homepage b/homebrew/audiofile/_metadata/homepage
new file mode 100644
index 000000000..3b9e11ac7
--- /dev/null
+++ b/homebrew/audiofile/_metadata/homepage
@@ -0,0 +1 @@
+https://audiofile.68k.org/
diff --git a/homebrew/audiofile/_metadata/name b/homebrew/audiofile/_metadata/name
new file mode 100644
index 000000000..3e92864b9
--- /dev/null
+++ b/homebrew/audiofile/_metadata/name
@@ -0,0 +1 @@
+Audiofile
diff --git a/homebrew/audiofile/_metadata/version b/homebrew/audiofile/_metadata/version
new file mode 100644
index 000000000..449d7e73a
--- /dev/null
+++ b/homebrew/audiofile/_metadata/version
@@ -0,0 +1 @@
+0.3.6
diff --git a/homebrew/audiofile/download.sh b/homebrew/audiofile/download.sh
new file mode 100755
index 000000000..ea7ef66e0
--- /dev/null
+++ b/homebrew/audiofile/download.sh
@@ -0,0 +1 @@
+wget https://audiofile.68k.org/audiofile-0.3.6.tar.gz \ No newline at end of file
diff --git a/homebrew/audiofile/patches.sh b/homebrew/audiofile/patches.sh
new file mode 100755
index 000000000..f52cdc723
--- /dev/null
+++ b/homebrew/audiofile/patches.sh
@@ -0,0 +1,2 @@
+wget https://deb.debian.org/debian/pool/main/a/audiofile/audiofile_0.3.6-4.debian.tar.xz
+wget https://deb.debian.org/debian/pool/main/a/audiofile/audiofile_0.3.6-4.debian.tar.xz