Commit 483dc842 authored by lovedheart's avatar lovedheart Committed by Ed Reel

[libxml2] remove python module (#2202)

libxml2 python module will be built in a separate package.
parent b613bed8
......@@ -3,24 +3,23 @@ require 'package'
class Libxml2 < Package
description 'Libxml2 is the XML C parser and toolkit developed for the Gnome project.'
homepage 'http://xmlsoft.org/'
version '2.9.8'
version '2.9.8-1'
source_url 'ftp://xmlsoft.org/libxml2/libxml2-2.9.8.tar.gz'
source_sha256 '0b74e51595654f958148759cfef0993114ddccccbb6f31aee018f3558e8e2732'
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/libxml2-2.9.8-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/libxml2-2.9.8-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/libxml2-2.9.8-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/libxml2-2.9.8-chromeos-x86_64.tar.xz',
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/libxml2-2.9.8-1-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/libxml2-2.9.8-1-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/libxml2-2.9.8-1-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/libxml2-2.9.8-1-chromeos-x86_64.tar.xz',
})
binary_sha256 ({
aarch64: '6aec3dc783b8f17309c855900052975389fb644e78f986fc40e307a66eb92b0f',
armv7l: '6aec3dc783b8f17309c855900052975389fb644e78f986fc40e307a66eb92b0f',
i686: '29abea10be808c0e82c1a420afdfb04ff07f8dc74be3ee26095b97ab3e310e63',
x86_64: 'f63743763e5caff9ac62e6e03490de6c48217a6a8c1d7f923e2e3c0396131516',
aarch64: 'ab6dfc5969c4220c58ec1a24d989e761158de397897345047bbe2d69d875c365',
armv7l: 'ab6dfc5969c4220c58ec1a24d989e761158de397897345047bbe2d69d875c365',
i686: '0f0b0fc514b0002207de170e99fe085f994db4307130b77bb6d9fbced6e09cdd',
x86_64: '061f528bece488ea9d4b8ad5b4f033dd4d005a76a58878f2ae3ae437fdda8fd4',
})
depends_on 'python27' => :build # since binary is available, mark it as build depedency
depends_on 'zlibpkg'
def self.build
......@@ -30,9 +29,12 @@ class Libxml2 < Package
"--enable-shared",
"--disable-static",
"--with-pic",
"--with-python",
"--without-python", # libxml2-python built in another package (libxml2_python)
"--without-lzma",
"--with-zlib"
"--with-zlib",
"--with-icu",
"--with-threads",
"--with-history"
system "make"
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