homebrew-core/Formula/gphoto2.rb
Adam Vandenberg 7bd947eb0b 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

21 lines
592 B
Ruby

require 'formula'
class Gphoto2 <Formula
url 'http://downloads.sourceforge.net/project/gphoto/gphoto/2.4.9/gphoto2-2.4.9.tar.bz2'
homepage 'http://gphoto.org/'
md5 'a08a93a425cde03ca8f9bade83bbd26a'
depends_on 'pkg-config'
depends_on 'jpeg'
depends_on 'libgphoto2'
depends_on 'popt'
def install
system "./configure", "--disable-dependency-tracking",
"--prefix=#{prefix}",
"--without-readline",
"--without-cdk",
"--without-aalib"
system "make install"
end
end