aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorDusK2013-08-04 23:09:06 -0700
committerJack Nagel2013-08-05 11:39:21 -0500
commit7aa6f36ba3c4a91138bb9ced961081022b7ed707 (patch)
tree6036c766a3660ddad89985562c87e6413b780b00 /Library/Formula
parentb225df4694f582149655050bc0980c6efbd66e7b (diff)
downloadhomebrew-7aa6f36ba3c4a91138bb9ced961081022b7ed707.tar.bz2
gd 2.1.0
Closes #21662. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/gd.rb28
1 files changed, 3 insertions, 25 deletions
diff --git a/Library/Formula/gd.rb b/Library/Formula/gd.rb
index 17bb90d5b..9b1d1d300 100644
--- a/Library/Formula/gd.rb
+++ b/Library/Formula/gd.rb
@@ -1,12 +1,9 @@
require 'formula'
class Gd < Formula
- homepage 'https://bitbucket.org/libgd/gd-libgd'
- # libgd doesn't have their latest (non-alpha) version.
- # When they do release a stable version, use that url.
- # Watch this space: http://libgd.bitbucket.org/pages/downloads.html
- url 'http://download.osgeo.org/mapserver/libgd/gd-2.0.36RC1.tar.gz'
- sha1 '21cf2ec93fd80836fc0cb4741201f7cc5440819a'
+ homepage 'http://libgd.bitbucket.org/'
+ url 'https://bitbucket.org/libgd/gd-libgd/downloads/libgd-2.1.0.tar.gz'
+ sha1 'a0f3053724403aef9e126f4aa5c662573e5836cd'
head 'https://bitbucket.org/libgd/gd-libgd', :using => :hg
@@ -28,25 +25,6 @@ class Gd < Formula
args << "--without-freetype" unless build.with? 'freetype'
system "./configure", *args
system "make install"
- (lib+'pkgconfig/gdlib.pc').write pc_file
- end
-
- def pc_file; <<-EOS.undent
- prefix=#{opt_prefix}
- exec_prefix=${prefix}
- libdir=/${exec_prefix}/lib
- includedir=/${prefix}/include
- bindir=/${prefix}/bin
- ldflags= -L/${prefix}/lib
-
- Name: gd
- Description: A graphics library for quick creation of PNG or JPEG images
- Version: #{version}
- Requires:
- Libs: -L${libdir} -lgd
- Libs.private: -ljpeg -lpng12 -lz -lm
- Cflags: -I${includedir}
- EOS
end
test do