Files
tigerbrew/Library/Formula/falcon.rb
T
Adam Vandenberg d0efd9ee94 Update formulae for version 0.7
* Use new "url" features
* Use keg_only DSL
* Use "skip_clean :all" DSL
* Whitespace and style cleanups
* Make bash invocations less silly
* Use new man2-man8 helpers
* Remove "FileUtils." since it is included in Formula
* Use real names for deps instead of aliases
* ENV.x11 now updates path, so remove that from individual brews
2010-08-07 18:08:53 -07:00

41 lines
1.3 KiB
Ruby

# This formula currently uses the bundled libedit since there are known
# problems with readline.
require 'formula'
class FalconHtmldocs <Formula
url 'http://falconpl.org/project_dl/_official_rel/Falcon-docs-core.0.9.6.4.tar.gz'
md5 '94c5b17af5b9e06e4d97d497c292aad0'
end
class FalconFeathersHtmldocs <Formula
url 'http://falconpl.org/project_dl/_official_rel/Falcon-feathers-docs.0.9.6.4.tar.gz'
md5 '42ffa8650cf5a86e426837c38977ea5a'
end
class Falcon <Formula
url 'http://falconpl.org/project_dl/_official_rel/Falcon-0.9.6.4.tar.gz'
homepage 'http://www.falconpl.org/'
md5 '35475a49f8dcc9ccf1c89f54de156951'
depends_on 'cmake'
depends_on 'pcre'
def install
cmake_opts = "-DCMAKE_INSTALL_NAME_DIR=#{prefix}/lib"
ENV.append "EXTRA_CMAKE", cmake_opts
system "./build.sh", "-p", "#{prefix}", "-int", "-el"
system "./build.sh", "-i"
# install the htmldocs for the core and standard modules (feathers)
FalconHtmldocs.new.brew { (doc+'core-doc').install Dir['*'] }
FalconFeathersHtmldocs.new.brew { (doc+'feathers-doc').install Dir['*'] }
end
def caveats; <<-EOS.undent
HTML docs for the core and standard libraries (feathers) are
installed in #{doc}/core-doc and
#{doc}/feathers-doc respectively.
EOS
end
end