forked from Homebrew/legacy-homebrew
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Nicolas Pinto
committed
Aug 19, 2011
1 parent
7ecea6f
commit f221036
Showing
2 changed files
with
42 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
require 'formula' | ||
|
||
class Libmp3splt < Formula | ||
url 'http://downloads.sourceforge.net/project/mp3splt/libmp3splt/0.6.1a/libmp3splt-0.6.1a.tar.gz' | ||
homepage 'http://mp3splt.sourceforge.net' | ||
md5 'a6a00d83e49adf27abb7a0cb0ea384a4' | ||
|
||
depends_on 'gettext' | ||
depends_on 'pkg-config' | ||
depends_on 'pcre' | ||
depends_on 'libid3tag' | ||
depends_on 'libmad' | ||
depends_on 'libvorbis' | ||
|
||
def patches | ||
# fixes unneeded depencency on autopoint and uses glibtoolize instead of libtoolize | ||
"https://gist.github.com/raw/1034717/931c582cba12d5afcbaa3edd6032baa25bebf5d8/autogen.sh.patch" | ||
end | ||
|
||
def install | ||
system "ACLOCAL_FLAGS=\"-I /usr/local/share/aclocal $ACLOCAL_FLAGS\" ./autogen.sh" | ||
system "autoconf && automake" | ||
system "./configure", "--disable-debug", "--disable-dependency-tracking", | ||
"--prefix=#{prefix}" | ||
system "make install" | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
require 'formula' | ||
|
||
class Mp3splt < Formula | ||
url 'http://downloads.sourceforge.net/project/mp3splt/mp3splt/2.3a/mp3splt-2.3a.tar.gz' | ||
homepage 'http://mp3splt.sourceforge.net' | ||
md5 '1fe663f7de5a6949bbe5b6aa78fea79f' | ||
|
||
depends_on 'libmp3splt' | ||
|
||
def install | ||
system "./configure", "--disable-debug", "--disable-dependency-tracking", | ||
"--prefix=#{prefix}" | ||
system "make install" | ||
end | ||
end |