summaryrefslogtreecommitdiff
path: root/homebrew/mad
diff options
context:
space:
mode:
Diffstat (limited to 'homebrew/mad')
-rw-r--r--homebrew/mad/.beer18
-rw-r--r--homebrew/mad/.make.sh-auto4
-rw-r--r--homebrew/mad/_metadata/description1
-rw-r--r--homebrew/mad/_metadata/homepage1
-rw-r--r--homebrew/mad/_metadata/name1
-rw-r--r--homebrew/mad/_metadata/version1
-rwxr-xr-xhomebrew/mad/download.sh1
7 files changed, 27 insertions, 0 deletions
diff --git a/homebrew/mad/.beer b/homebrew/mad/.beer
new file mode 100644
index 000000000..03e820ef2
--- /dev/null
+++ b/homebrew/mad/.beer
@@ -0,0 +1,18 @@
+{
+ "name": "Mad",
+ "description": "MPEG audio decoder",
+ "url": "https://downloads.sourceforge.net/project/mad/libmad/0.15.1b/libmad-0.15.1b.tar.gz",
+ "mirror": null,
+ "homepage": "https://www.underbit.com/products/mad/",
+ "depends": [],
+ "resource": [],
+ "conflicts": [],
+ "patches": [],
+ "install": [
+ "system \"./configure\", \"--disable-debugging\", \"--enable-fpm=64bit\", \"--prefix=#{prefix}\"",
+ "system \"make\", \"CFLAGS=#{ENV.cflags}\", \"LDFLAGS=#{ENV.ldflags}\", \"install\"",
+ "(lib+\"pkgconfig/mad.pc\").write pc_file"
+ ],
+ "version": "0.15.1",
+ "file": "mad.rb"
+} \ No newline at end of file
diff --git a/homebrew/mad/.make.sh-auto b/homebrew/mad/.make.sh-auto
new file mode 100644
index 000000000..c607bb633
--- /dev/null
+++ b/homebrew/mad/.make.sh-auto
@@ -0,0 +1,4 @@
+pkg:setup
+pkg:configure --enable-fpm=64bit
+make CFLAGS=${CFLAGS} LDFLAGS=${LDFLAGS} DESTDIR=${PKG_DEST} install
+(lib+"pkgconfig/mad.pc").write pc_file
diff --git a/homebrew/mad/_metadata/description b/homebrew/mad/_metadata/description
new file mode 100644
index 000000000..1cced8d34
--- /dev/null
+++ b/homebrew/mad/_metadata/description
@@ -0,0 +1 @@
+MPEG audio decoder
diff --git a/homebrew/mad/_metadata/homepage b/homebrew/mad/_metadata/homepage
new file mode 100644
index 000000000..170546a04
--- /dev/null
+++ b/homebrew/mad/_metadata/homepage
@@ -0,0 +1 @@
+https://www.underbit.com/products/mad/
diff --git a/homebrew/mad/_metadata/name b/homebrew/mad/_metadata/name
new file mode 100644
index 000000000..2820d07b9
--- /dev/null
+++ b/homebrew/mad/_metadata/name
@@ -0,0 +1 @@
+Mad
diff --git a/homebrew/mad/_metadata/version b/homebrew/mad/_metadata/version
new file mode 100644
index 000000000..e815b861f
--- /dev/null
+++ b/homebrew/mad/_metadata/version
@@ -0,0 +1 @@
+0.15.1
diff --git a/homebrew/mad/download.sh b/homebrew/mad/download.sh
new file mode 100755
index 000000000..a9ed36e0b
--- /dev/null
+++ b/homebrew/mad/download.sh
@@ -0,0 +1 @@
+wget https://downloads.sourceforge.net/project/mad/libmad/0.15.1b/libmad-0.15.1b.tar.gz \ No newline at end of file