summaryrefslogtreecommitdiff
path: root/homebrew/mad
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/mad
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/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