Commit 6e95dc03 authored by Damian Montero's avatar Damian Montero Committed by GitHub

Merge pull request #635 from jam7/update/libxml2

update libxml2 to 2.9.4
parents 64f7d9de 7ccc246a
require 'package' require 'package'
class Libxml2 < Package class Libxml2 < Package
version '2.9.2-1' version '2.9.4'
source_url 'http://xmlsoft.org/sources/libxml2-2.9.2.tar.gz' source_url 'ftp://xmlsoft.org/libxml2/libxml2-2.9.4.tar.gz'
source_sha1 'f46a37ea6d869f702e03f393c376760f3cbee673' source_sha1 '958ae70baf186263a4bd801a81dd5d682aedd1db'
def self.build def self.build
system "./configure CFLAGS=\" -fPIC\" --without-python" system "./configure", "--enable-shared", "--disable-static", "--with-pic", "--without-python"
system "make" system "make"
end end
def self.install def self.install
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install" system "make", "DESTDIR=#{CREW_DEST_DIR}", "install-strip"
# strip debug symbol from library
system "strip -S #{CREW_DEST_DIR}/usr/local/lib/libxml2.so.*"
end
def self.check
# Remove EBCDIC test since it fails.
# Check https://mail.gnome.org/archives/xml/2010-April/msg00010.html for details.
system "rm", "test/ebcdic_566012.xml"
system "make", "check"
end end
end end
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment