Skip to content

Commit

Permalink
Update xmlstarlet to version 1.0.5.
Browse files Browse the repository at this point in the history
Signed-off-by: Adam Vandenberg <[email protected]>
  • Loading branch information
gredman authored and adamv committed Feb 25, 2011
1 parent 7316675 commit 0f21761
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions Library/Formula/xmlstarlet.rb
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
require 'formula'

class Xmlstarlet <Formula
url 'http://downloads.sourceforge.net/project/xmlstar/xmlstarlet/1.0.1/xmlstarlet-1.0.1.tar.gz'
md5 '8deb71834bcdfb4443c258a1f0042fce'
url 'http://downloads.sourceforge.net/project/xmlstar/xmlstarlet/1.0.5/xmlstarlet-1.0.5.tar.gz'
md5 '2a7e5333051fb0b38647cd1e94e81050'
homepage 'http://xmlstar.sourceforge.net/'

def install
# thanks, xmlstarlet but OS X doesn't have the static versions
inreplace 'configure' do |s|
s.gsub! '${LIBXML_PREFIX}/lib/libxml2.a', '-lxml2'
s.gsub! '${LIBXSLT_PREFIX}/lib/libxslt.a', '-lxslt'
s.gsub! '${LIBXSLT_PREFIX}/lib/libexslt.a', '-lexslt'
s.gsub! '$LIBXML_LIBDIR/libxml2.a', '-lxml2'
s.gsub! '$LIBXSLT_LIBDIR/libxslt.a', '-lxslt'
s.gsub! '$LIBXSLT_LIBDIR/libexslt.a', '-lexslt'
end

system "./configure", "--prefix=#{prefix}", "--mandir=#{man}", "--disable-debug", "--disable-dependency-tracking"
Expand Down

0 comments on commit 0f21761

Please sign in to comment.