two-lame: use new dsl
This commit is contained in:
parent
c8a34157e9
commit
2d4d780670
1 changed files with 4 additions and 5 deletions
|
@ -5,14 +5,13 @@ class TwoLame < Formula
|
|||
url 'http://downloads.sourceforge.net/twolame/twolame-0.3.13.tar.gz'
|
||||
sha1 '3ca460472c2f6eeedad70291d8e37da88b64eb8b'
|
||||
|
||||
depends_on 'libsndfile' if ARGV.include? '--frontend'
|
||||
option 'frontend', 'Build the twolame frontend using libsndfile'
|
||||
|
||||
def options
|
||||
[['--frontend', 'Build the twolame frontend using libsndfile']]
|
||||
end
|
||||
depends_on 'libsndfile' if build.include? 'frontend'
|
||||
|
||||
def install
|
||||
system './configure', "--prefix=#{prefix}", '--disable-dependency-tracking'
|
||||
system "./configure", "--disable-dependency-tracking",
|
||||
"--prefix=#{prefix}"
|
||||
system 'make install'
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue