aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorkewagi2012-09-03 08:06:05 +0200
committerAdam Vandenberg2012-09-12 20:17:21 -0700
commit937251b2b48154f930fdc7d57912e703221ba34c (patch)
tree738a84e6a91154198f6f253370f3dd86626e3c28 /Library/Formula
parent6c5f175a42504e75f5da05680e8a5ce46cf9d707 (diff)
downloadhomebrew-937251b2b48154f930fdc7d57912e703221ba34c.tar.bz2
mp3fs 0.32
Closes #14658. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/mp3fs.rb23
1 files changed, 23 insertions, 0 deletions
diff --git a/Library/Formula/mp3fs.rb b/Library/Formula/mp3fs.rb
new file mode 100644
index 000000000..2a8416b47
--- /dev/null
+++ b/Library/Formula/mp3fs.rb
@@ -0,0 +1,23 @@
+require 'formula'
+
+class Mp3fs < Formula
+ homepage 'http://khenriks.github.com/mp3fs/'
+ url 'https://github.com/downloads/khenriks/mp3fs/mp3fs-0.32.tar.gz'
+ sha1 'e6aef12f753721c87bdecfb4dca7e3721a808828'
+
+ depends_on 'pkg-config' => :build
+ depends_on 'lame'
+ depends_on 'fuse4x'
+ depends_on 'libid3tag'
+ depends_on 'flac'
+
+ def install
+ system "./configure", "--disable-dependency-tracking",
+ "--prefix=#{prefix}"
+ system "make install"
+ end
+
+ def test
+ system "#{bin}/mp3fs -V | grep MP3FS && true || false"
+ end
+end